Skip to content

Commit 0d5954d

Browse files
authored
Merge pull request #25167 from zhaojizhuang/podtopo
[zh] sync pod-topylogy-spread-contraints for chinese
2 parents f2233db + 9d8718e commit 0d5954d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/zh/docs/concepts/workloads/pods/pod-topology-spread-constraints.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ content_type: concept
1010
weight: 40
1111
-->
1212

13+
{{< feature-state for_k8s_version="v1.19" state="stable" >}}
14+
<!-- leave this shortcode in place until the note about EvenPodsSpread is
15+
obsolete -->
16+
1317
<!-- overview -->
1418

1519
<!--
@@ -20,6 +24,22 @@ You can use _topology spread constraints_ to control how {{< glossary_tooltip te
2024
之间的分布,例如区域(Region)、可用区(Zone)、节点和其他用户自定义拓扑域。
2125
这样做有助于实现高可用并提升资源利用率。
2226

27+
<!--
28+
{{< note >}}
29+
In versions of Kubernetes before v1.19, you must enable the `EvenPodsSpread`
30+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) on
31+
the [API server](/docs/concepts/overview/components/#kube-apiserver) and the
32+
[scheduler](/docs/reference/generated/kube-scheduler/) in order to use Pod
33+
topology spread constraints.
34+
{{< /note >}}
35+
-->
36+
37+
{{< note >}}
38+
在 v1.19 之前的 Kubernetes 版本中,如果要使用 Pod 拓扑扩展约束,你必须在 [API 服务器](/zh/docs/concepts/overview/components/#kube-apiserver)
39+
[调度器](/zh/docs/reference/command-line-tools-referene/kube-scheduler/)
40+
中启用 `EvenPodsSpread` [特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/)
41+
{{< /note >}}
42+
2343
<!-- body -->
2444

2545
<!--

0 commit comments

Comments
 (0)