mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-03-11 12:21:17 +00:00
style(docs): standardize heading formats and numbering
- Enforce Level 1-3 structural numbering based on SUMMARY.md hierarchy - Remove structural numbering from Level 4+ headings - Eliminate single child headings by converting to bold text - Auto-inject summary text for headings with multiple children missing intro text - Exclude Appendix chapters from structural numbering - Avoid modifying code block contents - Add script to detect non-standard English usage in headers
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
## 架构设计
|
||||
## 12.3 架构设计
|
||||
|
||||
任何优秀的项目都离不开优秀的架构设计。本小节将介绍 Kubernetes 在架构方面的设计考虑。
|
||||
|
||||
### 基本考虑
|
||||
### 12.3.1 基本考虑
|
||||
|
||||
如果让我们自己从头设计一套容器管理平台,有如下几个方面是很容易想到的:
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* 一套资源调度系统,管理哪个容器该分配到哪个节点上;
|
||||
* 一套对容器内服务进行抽象和 HA 的系统。
|
||||
|
||||
### 运行原理
|
||||
### 12.3.2 运行原理
|
||||
|
||||
如图 12-3 所示,该图完整展示了 Kubernetes 的运行原理。
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
从这张图上,我们没有能发现 Kubernetes 中对于控制平面的分布式实现,但是由于数据后端自身就是一套分布式的数据库 Etcd,因此可以很容易扩展到分布式实现。
|
||||
|
||||
### 控制平面
|
||||
### 12.3.3 控制平面
|
||||
|
||||
控制平面 (Control Plane) 是 Kubernetes 集群的大脑,负责做出全局决策 (如调度) 以及检测和响应集群事件。
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
组件可以自动的去侦测 Etcd 中的数值变化来获得通知,并且获得更新后的数据来执行相应的操作。
|
||||
|
||||
### 工作节点
|
||||
### 12.3.4 工作节点
|
||||
|
||||
* kubelet 是工作节点执行操作的 agent,负责具体的容器生命周期管理,根据从数据库中获取的信息来管理容器,并上报 pod 运行状态等;
|
||||
* kube-proxy 是一个简单的网络访问代理,同时也是一个 Load Balancer。它负责将访问到某个服务的请求具体分配给工作节点上的 Pod (同一类标签)。
|
||||
|
||||
Reference in New Issue
Block a user