Skip to content

Commit fe87b9f

Browse files
authored
Merge pull request #28417 from ahg-g/ahg-cost
PodDeletionCost to Beta
2 parents 48c2535 + cde5120 commit fe87b9f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

content/en/docs/concepts/workloads/controllers/replicaset.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ prioritize scaling down pods based on the following general algorithm:
323323
If all of the above match, then selection is random.
324324

325325
### Pod deletion cost
326-
{{< feature-state for_k8s_version="v1.21" state="alpha" >}}
326+
{{< feature-state for_k8s_version="v1.22" state="beta" >}}
327327

328328
Using the [`controller.kubernetes.io/pod-deletion-cost`](/docs/reference/labels-annotations-taints/#pod-deletion-cost)
329329
annotation, users can set a preference regarding which pods to remove first when downscaling a ReplicaSet.
@@ -335,7 +335,7 @@ cost are preferred to be deleted before pods with higher deletion cost.
335335
The implicit value for this annotation for pods that don't set it is 0; negative values are permitted.
336336
Invalid values will be rejected by the API server.
337337

338-
This feature is alpha and disabled by default. You can enable it by setting the
338+
This feature is beta and enabled by default. You can disable it using the
339339
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
340340
`PodDeletionCost` in both kube-apiserver and kube-controller-manager.
341341

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
@@ -142,7 +142,8 @@ different Kubernetes components.
142142
| `NodeDisruptionExclusion` | `true` | Beta | 1.19 | 1.20 |
143143
| `NonPreemptingPriority` | `false` | Alpha | 1.15 | 1.18 |
144144
| `NonPreemptingPriority` | `true` | Beta | 1.19 | |
145-
| `PodDeletionCost` | `false` | Alpha | 1.21 | |
145+
| `PodDeletionCost` | `false` | Alpha | 1.21 | 1.21 |
146+
| `PodDeletionCost` | `true` | Beta | 1.22 | |
146147
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | 1.21 |
147148
| `PodAffinityNamespaceSelector` | `true` | Beta | 1.22 | |
148149
| `PodOverhead` | `false` | Alpha | 1.16 | 1.17 |

0 commit comments

Comments
 (0)