[zh] sync pod-topylogy-spread-contraints for chinese
parent
80efb1e56a
commit
9d8718e0c2
|
@ -10,6 +10,10 @@ content_type: concept
|
||||||
weight: 40
|
weight: 40
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
{{< feature-state for_k8s_version="v1.19" state="stable" >}}
|
||||||
|
<!-- leave this shortcode in place until the note about EvenPodsSpread is
|
||||||
|
obsolete -->
|
||||||
|
|
||||||
<!-- overview -->
|
<!-- overview -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
@ -20,6 +24,22 @@ You can use _topology spread constraints_ to control how {{< glossary_tooltip te
|
||||||
之间的分布,例如区域(Region)、可用区(Zone)、节点和其他用户自定义拓扑域。
|
之间的分布,例如区域(Region)、可用区(Zone)、节点和其他用户自定义拓扑域。
|
||||||
这样做有助于实现高可用并提升资源利用率。
|
这样做有助于实现高可用并提升资源利用率。
|
||||||
|
|
||||||
|
<!--
|
||||||
|
{{< note >}}
|
||||||
|
In versions of Kubernetes before v1.19, you must enable the `EvenPodsSpread`
|
||||||
|
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) on
|
||||||
|
the [API server](/docs/concepts/overview/components/#kube-apiserver) and the
|
||||||
|
[scheduler](/docs/reference/generated/kube-scheduler/) in order to use Pod
|
||||||
|
topology spread constraints.
|
||||||
|
{{< /note >}}
|
||||||
|
-->
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
|
在 v1.19 之前的 Kubernetes 版本中,如果要使用 Pod 拓扑扩展约束,你必须在 [API 服务器](/zh/docs/concepts/overview/components/#kube-apiserver)
|
||||||
|
和[调度器](/zh/docs/reference/command-line-tools-referene/kube-scheduler/)
|
||||||
|
中启用 `EvenPodsSpread` [特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/)。
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
<!-- body -->
|
<!-- body -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in New Issue