Skip to content

Commit 2403bcc

Browse files
committed
[zh-cn] sync Pod Topology Spread Constraints
Signed-off-by: tico88612 <[email protected]>
1 parent 573d9eb commit 2403bcc

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ spec:
101101
# Configure a topology spread constraint
102102
topologySpreadConstraints:
103103
- maxSkew: <integer>
104-
minDomains: <integer> # optional; beta since v1.25
104+
minDomains: <integer> # optional
105105
topologyKey: <string>
106106
whenUnsatisfiable: <string>
107107
labelSelector: <object>
@@ -121,7 +121,7 @@ spec:
121121
# 配置一个拓扑分布约束
122122
topologySpreadConstraints:
123123
- maxSkew: <integer>
124-
minDomains: <integer> # 可选;自从 v1.25 开始成为 Beta
124+
minDomains: <integer> # 可选
125125
topologyKey: <string>
126126
whenUnsatisfiable: <string>
127127
labelSelector: <object>
@@ -184,15 +184,13 @@ your cluster. Those fields are:
184184

185185
{{< note >}}
186186
<!--
187-
The `MinDomainsInPodTopologySpread` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
188-
enables `minDomains` for pod topology spread. Starting from v1.28,
189-
the `MinDomainsInPodTopologySpread` gate
190-
is enabled by default. In older Kubernetes clusters it might be explicitly
187+
Before Kubernetes v1.30, the `minDomains` field was only available if the
188+
`MinDomainsInPodTopologySpread` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
189+
was enabled (default since v1.28). In older Kubernetes clusters it might be explicitly
191190
disabled or the field might not be available.
192191
-->
193-
`MinDomainsInPodTopologySpread`
194-
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
195-
Pod 拓扑分布启用 `minDomains`。自 v1.28 起,`MinDomainsInPodTopologySpread` 特性门控默认被启用。
192+
在 Kubernetes v1.30 之前,`minDomains` 字段只有在启用 `MinDomainsInPodTopologySpread`
193+
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)时才可用(自 v1.28 起默认启用)
196194
在早期的 Kubernetes 集群中,此特性门控可能被显式禁用或此字段可能不可用。
197195
{{< /note >}}
198196

0 commit comments

Comments
 (0)