Skip to content

Commit bfca388

Browse files
authored
Merge pull request #32352 from ahg-g/ahg-nss-ga
Pod affinity namespaceSelector to GA
2 parents ed14d63 + ec2133b commit bfca388

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

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

Lines changed: 1 addition & 5 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.22" state="beta" >}}
445+
{{< feature-state for_k8s_version="v1.24" state="stable" >}}
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,10 +493,6 @@ 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 beta and enabled by default. You can disable it using the
497-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
498-
`PodAffinityNamespaceSelector` in both kube-apiserver and kube-scheduler.
499-
500496
## Requests compared to Limits {#requests-vs-limits}
501497

502498
When allocating compute resources, each container may specify a request and a limit value for either CPU or memory.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -271,17 +271,13 @@ 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.22" state="beta" >}}
274+
{{< feature-state for_k8s_version="v1.24" state="stable" >}}
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 beta and enabled by default. You can disable it via the
282-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
283-
`PodAffinityNamespaceSelector` in both kube-apiserver and kube-scheduler.
284-
285281
#### More Practical Use-cases
286282

287283
Interpod Affinity and AntiAffinity can be even more useful when they are used with higher

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ different Kubernetes components.
167167
| `OpenAPIEnums` | `false` | Alpha | 1.23 | |
168168
| `OpenAPIV3` | `false` | Alpha | 1.23 | |
169169
| `PodAndContainerStatsFromCRI` | `false` | Alpha | 1.23 | |
170-
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | 1.21 |
171-
| `PodAffinityNamespaceSelector` | `true` | Beta | 1.22 | |
172170
| `PodDeletionCost` | `false` | Alpha | 1.21 | 1.21 |
173171
| `PodDeletionCost` | `true` | Beta | 1.22 | |
174172
| `PodOverhead` | `false` | Alpha | 1.16 | 1.17 |
@@ -382,6 +380,9 @@ different Kubernetes components.
382380
| `NonPreemptingPriority` | `false` | Alpha | 1.15 | 1.18 |
383381
| `NonPreemptingPriority` | `true` | Beta | 1.19 | 1.23 |
384382
| `NonPreemptingPriority` | `true` | GA | 1.24 | - |
383+
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | 1.21 |
384+
| `PodAffinityNamespaceSelector` | `true` | Beta | 1.22 | 1.23 |
385+
| `PodAffinityNamespaceSelector` | `true` | GA | 1.24 | - |
385386
| `PVCProtection` | `false` | Alpha | 1.9 | 1.9 |
386387
| `PVCProtection` | - | Deprecated | 1.10 | - |
387388
| `PersistentLocalVolumes` | `false` | Alpha | 1.7 | 1.9 |

0 commit comments

Comments
 (0)