-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
59 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 8.5 服务网格的未来 | ||
# 8.8 服务网格的未来 | ||
|
||
随着服务网格落地实践,Sidecar 模式的缺点也逐渐被暴露: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 8.6 小结 | ||
# 8.9 小结 | ||
|
||
本章第二节,我们完整回顾了服务间通信的演变,相信你完全理解了服务网格出现的背景,以及它到底解决了什么问题。 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# 控制平面技术 | ||
# 8.4 控制平面技术 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 8.4 数据平面技术 | ||
# 8.3 数据平面技术 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# 7.7 资源模型及编排调度 | ||
|
||
本节所述的“资源模型”指的是狭义上的物理资源(如 CPU、内存、存储)。物理资源与 Kubernetes 的基本单元 Pod 存在直接的供需关系,并影响调度逻辑的设计。 | ||
本节所述的“资源模型”指的是狭义上的物理资源(如 CPU、内存、存储)。物理资源与 Kubernetes 的基本单元 Pod 存在直接的供需关系,并影响容器编排调度逻辑的设计。 | ||
|
||
从编排和调度 Pod 的角度来看,调度(scheduling)的职责是实现资源提供者(Node)与资源使用者(Pod)之间的最佳匹配。要达成这一目标,管理和分配集群资源时至少需要明确以下几个问题: | ||
从编排调度 Pod 的层面看,调度(scheduling)的职责是实现资源提供者(Node)与资源使用者(Pod)之间的最佳匹配。要达成这一目标,管理和分配集群资源时至少需要清楚以下几个问题: | ||
|
||
- 集群中有哪些种类的资源,如何表示这些资源,即资源模型该如何设计? | ||
- 如何描述容器的资源请求?如何描述一个 Node 当前的资源分配状态,例如已分配资源和未分配资源的数量? | ||
- 如果节点资源不足,节点中的容器该如何处理? | ||
|
||
接下来,笔者将根据上述问题,介绍 Kubernetes 的资源模型、QoS(Quality of Service,服务质量)以及 Pod 调度器的设计。 | ||
接下来,笔者将根据上述问题展开,介绍 Kubernetes 资源模型、QoS(Quality of Service,服务质量)以及调度器(kube-scheduler)的设计。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.