Skip to content

Commit 165247a

Browse files
authored
Merge pull request #28416 from ahg-g/ahg-nss2
Pod affinity namespaceSelector to beta
2 parents 369169d + a30d735 commit 165247a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

content/en/docs/concepts/policy/resource-quotas.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ pods 0 10
442442
443443
### Cross-namespace Pod Affinity Quota
444444
445-
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
445+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
446446
447447
Operators can use `CrossNamespacePodAffinity` quota scope to limit which namespaces are allowed to
448448
have pods with affinity terms that cross namespaces. Specifically, it controls which pods are allowed
@@ -493,7 +493,7 @@ With the above configuration, pods can use `namespaces` and `namespaceSelector`
493493
if the namespace where they are created have a resource quota object with
494494
`CrossNamespaceAffinity` scope and a hard limit greater than or equal to the number of pods using those fields.
495495

496-
This feature is alpha and disabled by default. You can enable it by setting the
496+
This feature is beta and enabled by default. You can disable it using the
497497
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
498498
`PodAffinityNamespaceSelector` in both kube-apiserver and kube-scheduler.
499499

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,14 +271,14 @@ All `matchExpressions` associated with `requiredDuringSchedulingIgnoredDuringExe
271271
must be satisfied for the pod to be scheduled onto a node.
272272

273273
#### Namespace selector
274-
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
274+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
275275

276276
Users can also select matching namespaces using `namespaceSelector`, which is a label query over the set of namespaces.
277277
The affinity term is applied to the union of the namespaces selected by `namespaceSelector` and the ones listed in the `namespaces` field.
278278
Note that an empty `namespaceSelector` ({}) matches all namespaces, while a null or empty `namespaces` list and
279279
null `namespaceSelector` means "this pod's namespace".
280280

281-
This feature is alpha and disabled by default. You can enable it by setting the
281+
This feature is beta and enabled by default. You can disable it via the
282282
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
283283
`PodAffinityNamespaceSelector` in both kube-apiserver and kube-scheduler.
284284

content/en/docs/reference/command-line-tools-reference/feature-gates.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ different Kubernetes components.
143143
| `NonPreemptingPriority` | `false` | Alpha | 1.15 | 1.18 |
144144
| `NonPreemptingPriority` | `true` | Beta | 1.19 | |
145145
| `PodDeletionCost` | `false` | Alpha | 1.21 | |
146-
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | |
146+
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | 1.21 |
147+
| `PodAffinityNamespaceSelector` | `true` | Beta | 1.22 | |
147148
| `PodOverhead` | `false` | Alpha | 1.16 | 1.17 |
148149
| `PodOverhead` | `true` | Beta | 1.18 | |
149150
| `ProbeTerminationGracePeriod` | `false` | Alpha | 1.21 | |

0 commit comments

Comments
 (0)