graduate MinDomain feature to stable

This commit is contained in:
Kensei Nakada 2024-02-17 20:03:34 +09:00
parent 08fb708f79
commit 01cfb51bfe
No known key found for this signature in database
GPG Key ID: 80888DEAD76B4BA4
2 changed files with 8 additions and 4 deletions

View File

@ -60,7 +60,7 @@ spec:
# Configure a topology spread constraint
topologySpreadConstraints:
- maxSkew: <integer>
minDomains: <integer> # optional; beta since v1.25
minDomains: <integer> # optional; GA since v1.30
topologyKey: <string>
whenUnsatisfiable: <string>
labelSelector: <object>
@ -98,10 +98,10 @@ your cluster. Those fields are:
{{< note >}}
The `MinDomainsInPodTopologySpread` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
enables `minDomains` for pod topology spread. Starting from v1.28,
enables `minDomains` for pod topology spread. From v1.28 to v1.29,
the `MinDomainsInPodTopologySpread` gate
is enabled by default. In older Kubernetes clusters it might be explicitly
disabled or the field might not be available.
is enabled by default.
And, at v1.30, this feature graduated to stable and the feature gate and the gate doesn't support the disablement anymore.
{{< /note >}}
- The value of `minDomains` must be greater than 0, when specified.

View File

@ -17,6 +17,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.27"
toVersion: "1.29"
- stage: stable
defaultValue: true
fromVersion: "1.30"
---
Enable `minDomains` in
[Pod topology spread constraints](/docs/concepts/scheduling-eviction/topology-spread-constraints/).