@@ -101,7 +101,7 @@ spec:
101
101
# Configure a topology spread constraint
102
102
topologySpreadConstraints:
103
103
- maxSkew: <integer>
104
- minDomains: <integer> # optional; beta since v1.25
104
+ minDomains: <integer> # optional
105
105
topologyKey: <string>
106
106
whenUnsatisfiable: <string>
107
107
labelSelector: <object>
@@ -121,7 +121,7 @@ spec:
121
121
# 配置一个拓扑分布约束
122
122
topologySpreadConstraints :
123
123
- maxSkew : <integer>
124
- minDomains : <integer> # 可选;自从 v1.25 开始成为 Beta
124
+ minDomains : <integer> # 可选
125
125
topologyKey : <string>
126
126
whenUnsatisfiable : <string>
127
127
labelSelector : <object>
@@ -184,15 +184,13 @@ your cluster. Those fields are:
184
184
185
185
{{< note >}}
186
186
<!--
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
191
190
disabled or the field might not be available.
192
191
-->
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 起默认启用)
196
194
在早期的 Kubernetes 集群中,此特性门控可能被显式禁用或此字段可能不可用。
197
195
{{< /note >}}
198
196
0 commit comments