当前位置:网站首页>Kubernetes架构和组件
Kubernetes架构和组件
2022-08-02 14:04:00 【王永俊】
Kubernetes 组件:
Kubernetes Master控制组件,调度管理整个系统(集群),包含如下组件:
1.Kubernetes API Server
作为Kubernetes系统的入口,其封装了核心对象的增删改查操作,以RESTful API接口方式提供给外部客户和内部组件调用。维护的REST对象持久化到Etcd中存储。
2.Kubernetes Scheduler
为新建立的Pod进行节点(node)选择(即分配机器),负责集群的资源调度。组件抽离,可以方便替换成其他调度器。
3.Kubernetes Controller
负责执行各种控制器,目前已经提供了很多控制器来保证Kubernetes的正常运行。
4. Replication Controller
管理维护Replication Controller,关联Replication Controller和Pod,保证Replication Controller定义的副本数量与实际运行Pod数量一致。
5. Node Controller
管理维护Node,定期检查Node的健康状态,标识出(失效|未失效)的Node节点。
6. Namespace Controller
管理维护Namespace,定期清理无效的Namespace,包括Namesapce下的API对象,比如Pod、Service等。
7. Service Controller
管理维护Service,提供负载以及服务代理。
8.EndPoints Controller
管理维护Endpoints,关联Service和Pod,创建Endpoints为Service的后端,当Pod发生变化时,实时更新Endpoints。
9. Service Account Controller
管理维护Service Account,为每个Namespace创建默认的Service Account,同时为Service Account创建Service Account Secret。
10. Persistent Volume Controller
管理维护Persistent Volume和Persistent Volume Claim,为新的Persistent Volume Claim分配Persistent Volume进行绑定,为释放的Persistent Volume执行清理回收。
11. Daemon Set Controller
管理维护Daemon Set,负责创建Daemon Pod,保证指定的Node上正常的运行Daemon Pod。
12. Deployment Controller
管理维护Deployment,关联Deployment和Replication Controller,保证运行指定数量的Pod。当Deployment更新时,控制实现Replication Controller和 Pod的更新。
13.Job Controller
管理维护Job,为Jod创建一次性任务Pod,保证完成Job指定完成的任务数目
14. Pod Autoscaler Controller
实现Pod的自动伸缩,定时获取监控数据,进行策略匹配,当满足条件时执行Pod的伸缩动作。
•Kubernetes Node运行节点,运行管理业务容器,包含如下组件:
1.Kubelet
负责管控容器,Kubelet会从Kubernetes API Server接收Pod的创建请求,启动和停止容器,监控容器运行状态并汇报给Kubernetes API Server。
2.Kubernetes Proxy
负责为Pod创建代理服务,Kubernetes Proxy会从Kubernetes API Server获取所有的Service信息,并根据Service的信息创建代理服务,实现Service到Pod的请求路由和转发,从而实现Kubernetes层级的虚拟转发网络。
3.Docker
Node上需要运行容器服务
边栏推荐
- 执行栈和执行上下文
- [ROS] Introduction to common tools in ROS (to be continued)
- 初识c语言指针
- Implementation of redis distributed lock and watchdog
- [ROS](05)ROS通信 —— 节点,Nodes & Master
- drf source code analysis and global catch exception
- uniCloud 未能获取当前用户信息:30205 | 当前用户为匿名身份
- 8580 合并链表
- PHP open source customer service system _ online customer service source code PHP
- PHP版本切换:5.x到7.3
猜你喜欢
随机推荐
St. Regis Takeaway Notes - Lecture 10 Swagger
CTF-XSS
uni-app页面、组件视图数据无法刷新问题的解决办法
What's wrong with running yolov5 (1) p, r, map are all 0
[ROS](05)ROS通信 —— 节点,Nodes & Master
C语言日记 5、7setprecision()问题
uniCloud 未能获取当前用户信息:30205 | 当前用户为匿名身份
【ROS】工控机的软件包不编译
Tornado framework routing system introduction and (IOloop.current().start()) start source code analysis
VS Code远程开发及免密配置
【Camera2】由Camera2 特性想到的有关MED(多场景设备互动)的场景Idea
The language of initial
Building and getting started with the Flask framework
Steps to connect the virtual machine with xshell_establish a network connection between the host and the vm virtual machine
[ROS] (04) Detailed explanation of package.xml
Basic operations of 8583 sequential stack
浮点数的运算方法
【c】小游戏---五子棋之井字棋雏形
宏定义问题记录day2
Visual Studio配置OpenCV之后,提示:#include<opencv2/opencv.hpp>无法打开源文件