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>
pull/47282/head
Kensei Nakada 2024-07-26 05:03:11 +09:00 committed by GitHub
parent 8b087913bd
commit 108e2a9f0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 7 deletions

View File

@ -363,10 +363,10 @@ null `namespaceSelector` matches the namespace of the Pod where the rule is defi
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}
{{< note >}}
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
The `matchLabelKeys` field is an alpha-level field and is disabled by default in
<!-- UPDATE THIS WHEN PROMOTING TO STABLE -->
The `matchLabelKeys` field is a beta-level field and is enabled by default in
Kubernetes {{< skew currentVersion >}}.
When you want to use it, you have to enable it via the
When you want to disable it, you have to disable it explicitly via the
`MatchLabelKeysInPodAffinity` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
{{< /note >}}
@ -414,10 +414,10 @@ spec:
{{< feature-state feature_gate_name="MatchLabelKeysInPodAffinity" >}}
{{< note >}}
<!-- UPDATE THIS WHEN PROMOTING TO BETA -->
The `mismatchLabelKeys` field is an alpha-level field and is disabled by default in
<!-- UPDATE THIS WHEN PROMOTING TO STABLE -->
The `mismatchLabelKeys` field is a beta-level field and is enabled by default in
Kubernetes {{< skew currentVersion >}}.
When you want to use it, you have to enable it via the
When you want to disable it, you have to disable it explicitly via the
`MatchLabelKeysInPodAffinity` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
{{< /note >}}

View File

@ -9,6 +9,10 @@ stages:
- stage: alpha
defaultValue: false
fromVersion: "1.29"
toVersion: "1.30"
- stage: beta
defaultValue: true
fromVersion: "1.31"
---
Enable the `matchLabelKeys` and `mismatchLabelKeys` field for
Enable the `matchLabelKeys` and `mismatchLabelKeys` fields for
[pod (anti)affinity](/docs/concepts/scheduling-eviction/assign-pod-node/).