K8s-学习者绝对不能错过的最全知识图谱内含-56个知识点链接

16次阅读

共计 6005 个字符,预计需要花费 16 分钟才能阅读完成。

导读:Kubernetes 作为云原生时代的“操作系统”,熟悉和使用它是每名用户的必备技能。本篇文章概述了容器服务 Kubernetes 的知识图谱,部分内容参考了网上的知识图谱,旨在帮助用户更好的了解 K8s 的相关知识。

1.  概述

容器服务 Kubernetes 知识图谱,部分内容参考网上一知识图谱,更加结合阿里云容器服务。

原图来源:https://www.processon.com/view/link/5ac64532e4b00dc8a02f05eb#map

2. 链接和备注

类别 知识点知识链接备注
Docker 原理KVM–> ECShttps://blog.csdn.net/weixin_43695104/article/details/88554443#32_kvm_web_192 
网络隧道技术 –>VPChttps://blog.csdn.net/wangjianno2/article/details/75208036 
NameSpacehttps://www.atatech.org/articles/81800Linux 容器中用来实现“隔离”的技术手段:Namespace,Namespace 技术实际上修改了应用进程看待整个计算机的范围,它的访问范围被操作系统做了限制,只能“看到”某些指定的内容。
CGrouphttps://blog.csdn.net/wudongxu/article/details/8474198Linux Control Group。它最主要的作用,就是限制一个进程组能够使用的资源上限,包括 CPU、内存、磁盘、网络带宽等等。
RootFS(Union FS)https://coolshell.cn/articles/17061.htmlrootfs 只是一个操作系统所包含的文件、配置和目录,并不包括操作系统内核。在 Linux 操作系统中,这两部分是分开存放的,操作系统只有在开机启动时才会加载指定版本的内核镜像。
windows 2019 windowserver 2019 开始支持 namespace
容器服务部署Docker Desktophttps://www.docker.com/products/docker-desktopMac 机器上强烈建议安装该软件作为学习使用
kuberneteshttp://docs.kubernetes.org.cn/kubernetes 集群,aliyun 容器服务支持
DashBoardhttps://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/kubernetes 集群的图形界面管理工具,容器服务控制台整合了该应用并扩展
EasyPackhttps://github.com/liumiaocn/easypack 一批部署 kubernetes 等集群的脚本集合
minikubehttps://kubernetes.io/docs/tasks/tools/install-minikube/ mini 新 k8s
工具组件kubectlhttp://docs.kubernetes.org.cn/61.htmlkubectl 用于运行 Kubernetes 集群命令的管理工具
kubeadmhttps://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/Kubernetes 官方提供的用于快速安装配置 Kubernetes 集群的工具
Helm 类似 rpm,yum,是 k8s 用于安装组件 (软件包:chart) 的工具
APP Hubhttps://developer.aliyun.com/hub在开放云原生应用中心当中,所有默认的 Helm Charts(Helm 格式的应用),都定时同步自 Helm Hub 北美官方站并托管在 Github 上。在这个过程中,云原生应用中心会自动对同步过来的所有 Charts 进行“本地化”操作。
CFSSLhttps://github.com/cloudflare/cfssl_CFSSL_是开源的一款 PKI/TLS 工具,常用于 K8s 证书制作
镜像仓库aliyun 私有镜像仓库https://cr.console.aliyun.com/aliyun 推出的镜像仓库,建议采用企业版
云效配置镜像仓库 云效企业设置,配置支持从阿里云私有镜像仓库拉取镜像
 Harbor 镜像仓库https://goharbor.io开源免费的存储和分发 Docker 镜像的企业级 Registry 服务器
组件kube-apiserver(Master)https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/在 generic server 上封装的一层官方默认的 apiserver(static pod)
etcd(Master)https://etcd.io类 zk 基于 Raft 协议的实现, 启动进程
Kube-scheduler(Master)https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler/负责 pod 分布到 Node 上的调度器 (static pod)
kube-controller-manager(Master)https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/ Deployment 等基础对象的控制器 (static pod)
cloud-controller-manager(Master)https://kubernetes.io/docs/reference/command-line-tools-reference/cloud-controller-manager/用于云资源使用的控制器,是云服务进行集成的控制器 (Daemonset)
kubelet(Node)https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/与 Master 通信, 对 worker(Node) 进行生命周期管理
kube-proxy(Node)https://kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/节点上运行的网络代理 (Daemonset)
containner runtime(Node) CRI 接口
DNShttps://kubernetes.io/docs/concepts/services-networking/dns-pod-service/aliyun 容器服务采用 CoreDNS(deployment)
Ingress controllerhttps://kubernetes.io/docs/concepts/services-networking/ingress-controllers/aliyun 容器服务采用 nginx ingress controller, 可以作为 https 服务的统一路由(deployment)
Heapster & influxdb  监控数据采集与存储用的时序数据库(Deployment)
Federationhttps://kubernetes.io/docs/concepts/cluster-administration/federation/集群联盟,实现高可用,同步资源等
kube-flannel 官方网络插件,aliyun 另外提供了自己开发的 Terway 组件(daemonset)
logtailhttps://help.aliyun.com/document_detail/28979.html?spm=a2c4g.11186623.6.595.439d7218wQhzsHaliyun 日志采集组件(daemonset)
基础对象PODhttp://docs.kubernetes.org.cn/312.html  容器组,运行应用容器基本单位,kubectl get pods 
Nodehttp://docs.kubernetes.org.cn/304.html集群节点服务器,Kubernetes 中的工作节点。
NameSpacehttp://docs.kubernetes.org.cn/242.html用以区分和隔离应用
Deployementhttp://docs.kubernetes.org.cn/317.html无状态部署,最常用部署配置
Daemonsethttps://kubernetes.io/docs/concepts/workloads/controllers/daemonset/类似守护进程
StatefulSethttp://docs.kubernetes.org.cn/443.html有状态部署
Job & CronJobhttps://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/调度任务
Static PODhttps://kubernetes.io/docs/tasks/configure-pod-container/static-pod/静态 pod 配置,yaml 位于 Master
HPAhttps://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/水平伸缩调度器
Servicehttps://kubernetes.io/docs/concepts/services-networking/service/服务暴露配置,包括 Cluster,NodePort,SLB 等
Ingresshttps://www.kubernetes.org.cn/1885.html路由,阿里云默认提供 nginx ingress
Secrethttps://kubernetes.io/docs/concepts/configuration/secret/保密字典,包括 tls, 私有仓库密钥,Opaque 几种
ServiceAccounthttps://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/用于资源对象的账号,比如给一个 Namespace 授予某私有镜像访问权限
RBAChttps://kubernetes.io/docs/reference/access-authn-authz/rbac/k8s 基于角色的访问控制,role,rolebinding
Volumehttps://kubernetes.io/docs/concepts/storage/volumes/映射磁盘
Storge Classhttps://kubernetes.io/docs/concepts/storage/storage-classes/ 
CustomResourceDefinition 自定义扩展资源
插件扩展CNI(Falnnel/Terway)https://kubernetes.io/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/容器网络接口
FlexVolumehttps://github.com/fstab/cifs开源 Volume 实现插件,阿里云使用中
Cloud Provider 云服务供应接口
容器服务优化 - 最佳实践Master 选型及磁盘规格https://yq.aliyun.com/articles/599169?spm=5176.11065265.1996646101.searchclickresult.7bea1a8bgCTYH7
https://yq.aliyun.com/articles/621108? 
网络选择https://yq.aliyun.com/articles/594943? 
 Worker 节点选型https://yq.aliyun.com/articles/602932?spm=a2c4e 
 Ingress Controller 独立部署  
 Master 变配https://help.aliyun.com/document_detail/123661.html?spm=5176.10695662.1996646101.searchclickresult.20d0328c6WG7jc 
节点变配或重启、摘除、加入  
基础镜像开发  
Service 与 SLB 结合  
集群审计https://help.aliyun.com/document_detail/91406.html?spm=5176.10695662.1996646101.searchclickresult.45266c92kGHQrP 
 Deployment 实现分批发布  
StatefulSet 分批发布https://yq.aliyun.com/articles/622898?spm=a2c4e.11155435.0.0.1b8e3312bSGmSe 
堡垒机上按照应用设置权限https://yq.aliyun.com/articles/715809 
Pod 均匀分布部署https://yq.aliyun.com/articles/715808 
应用优雅下线,优雅退出  
 ApiServer 访问控制  
监控  
云原生技术公开课https://edu.aliyun.com/roadmap/cloudnative阿里云联合 CNCF(云原生计算基金会)共同开发了本套云原生技术公开课,课程全程免费!
服务治理Istiohttps://istio.io当前最流行的网格服务架构,aliyun 支持
Linkerdhttps://linkerd.io/2/overview/最早提出网格服务公司的产品
 云效 支持容器服务 K8s 的 CI/CD 阿里云上产
Jenkinshttps://jenkins.io/zh/著名的最常用的 CI/CD 产品,容器服务由一键安装产品

本文作者:平名

阅读原文

本文为云栖社区原创内容,未经允许不得转载。

正文完
 0