Skip to content

Commit 108e2a9

Browse files
sanposhihoTim Bannister
and
Tim Bannister
authored
graduate MatchLabelKeysInPodAffinity to beta (#45181)
* graduate MatchLabelKeysInPodAffinity to beta * update feature-state * Correct the grammar Co-authored-by: Tim Bannister <tim@scalefactory.com> * add comments * Update version appropriately --------- Co-authored-by: Tim Bannister <tim@scalefactory.com>
1 parent 8b08791 commit 108e2a9

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

content/en/docs/concepts/scheduling-eviction/assign-pod-node.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,10 @@ null `namespaceSelector` matches the namespace of the Pod where the rule is defi
363363
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}
364364

365365
{{< note >}}
366-
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
367-
The `matchLabelKeys` field is an alpha-level field and is disabled by default in
366+
<!-- UPDATE THIS WHEN PROMOTING TO STABLE -->
367+
The `matchLabelKeys` field is a beta-level field and is enabled by default in
368368
Kubernetes {{< skew currentVersion >}}.
369-
When you want to use it, you have to enable it via the
369+
When you want to disable it, you have to disable it explicitly via the
370370
`MatchLabelKeysInPodAffinity` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
371371
{{< /note >}}
372372

@@ -414,10 +414,10 @@ spec:
414414
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}
415415

416416
{{< note >}}
417-
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
418-
The `mismatchLabelKeys` field is an alpha-level field and is disabled by default in
417+
<!-- UPDATE THIS WHEN PROMOTING TO STABLE -->
418+
The `mismatchLabelKeys` field is a beta-level field and is enabled by default in
419419
Kubernetes {{< skew currentVersion >}}.
420-
When you want to use it, you have to enable it via the
420+
When you want to disable it, you have to disable it explicitly via the
421421
`MatchLabelKeysInPodAffinity` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
422422
{{< /note >}}
423423

content/en/docs/reference/command-line-tools-reference/feature-gates/match-label-keys-in-pod-affinity.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ stages:
99
- stage: alpha
1010
defaultValue: false
1111
fromVersion: "1.29"
12+
toVersion: "1.30"
13+
- stage: beta
14+
defaultValue: true
15+
fromVersion: "1.31"
1216
---
13-
Enable the `matchLabelKeys` and `mismatchLabelKeys` field for
17+
Enable the `matchLabelKeys` and `mismatchLabelKeys` fields for
1418
[pod (anti)affinity](/docs/concepts/scheduling-eviction/assign-pod-node/).

0 commit comments

Comments
 (0)