Skip to content

Commit 84b3e50

Browse files
authored
Merge pull request #24764 from adtac/pts1
pod topology spread: add note about GA and feature gates
2 parents 05ee40f + ede08e6 commit 84b3e50

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,21 @@ content_type: concept
44
weight: 40
55
---
66

7+
{{< feature-state for_k8s_version="v1.19" state="stable" >}}
8+
<!-- leave this shortcode in place until the note about EvenPodsSpread is
9+
obsolete -->
10+
711
<!-- overview -->
812

913
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.
1014

11-
15+
{{< note >}}
16+
In versions of Kubernetes before v1.19, you must enable the `EvenPodsSpread`
17+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) on
18+
the [API server](/docs/concepts/overview/components/#kube-apiserver) and the
19+
[scheduler](/docs/reference/generated/kube-scheduler/) in order to use Pod
20+
topology spread constraints.
21+
{{< /note >}}
1222

1323
<!-- body -->
1424

0 commit comments

Comments
 (0)