From 47d495e7aa369be708a29398e94c985b0276bf29 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Mon, 16 Mar 2020 07:54:43 -0700 Subject: [PATCH] Promote Pod Topology Spread to Beta (#18969) * Promote PodTopologySpread (a.k.a EvenPodsSpread) to beta in 1.18 * address comments --- .../workloads/pods/pod-topology-spread-constraints.md | 11 +++++------ .../command-line-tools-reference/feature-gates.md | 3 ++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md b/content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md index cca337b32b..2f269255f4 100644 --- a/content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md +++ b/content/en/docs/concepts/workloads/pods/pod-topology-spread-constraints.md @@ -6,7 +6,7 @@ weight: 50 {{% capture overview %}} -{{< feature-state for_k8s_version="v1.16" state="alpha" >}} +{{< feature-state for_k8s_version="v1.18" state="beta" >}} You can use _topology spread constraints_ to control how {{< glossary_tooltip text="Pods" term_id="Pod" >}} are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains. This can help to achieve high availability as well as efficient resource utilization. @@ -18,9 +18,8 @@ You can use _topology spread constraints_ to control how {{< glossary_tooltip te ### Enable Feature Gate -Ensure the `EvenPodsSpread` feature gate is enabled (it is disabled by default -in 1.16). See [Feature Gates](/docs/reference/command-line-tools-reference/feature-gates/) -for an explanation of enabling feature gates. The `EvenPodsSpread` feature gate must be enabled for the +The `EvenPodsSpread` [feature gate] (/docs/reference/command-line-tools-reference/feature-gates/) +must be enabled for the {{< glossary_tooltip text="API Server" term_id="kube-apiserver" >}} **and** {{< glossary_tooltip text="scheduler" term_id="kube-scheduler" >}}. @@ -201,9 +200,9 @@ See [Motivation](https://github.com/kubernetes/enhancements/blob/master/keps/sig ## Known Limitations -As of 1.16, at which this feature is Alpha, there are some known limitations: +As of 1.18, at which this feature is Beta, there are some known limitations: -- Scaling down a `Deployment` may result in imbalanced Pods distribution. +- Scaling down a Deployment may result in imbalanced Pods distribution. - Pods matched on tainted nodes are respected. See [Issue 80921](https://github.com/kubernetes/kubernetes/issues/80921) {{% /capture %}} diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates.md b/content/en/docs/reference/command-line-tools-reference/feature-gates.md index 463a86dc7d..d284df9e5f 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates.md @@ -97,7 +97,8 @@ different Kubernetes components. | `ExpandPersistentVolumes` | `false` | Alpha | 1.8 | 1.10 | | `ExpandPersistentVolumes` | `true` | Beta | 1.11 | | | `ExperimentalHostUserNamespaceDefaulting` | `false` | Beta | 1.5 | | -| `EvenPodsSpread` | `false` | Alpha | 1.16 | | +| `EvenPodsSpread` | `false` | Alpha | 1.16 | 1.17 | +| `EvenPodsSpread` | `true` | Beta | 1.18 | | | `HPAScaleToZero` | `false` | Alpha | 1.16 | | | `HugePageStorageMediumSize` | `false` | Alpha | 1.18 | | | `HyperVContainer` | `false` | Alpha | 1.10 | |