Skip to content

Commit

Permalink
KEP-3017: Promote unhealthyPodEvictionPolicy for PDBs to Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
atiratree committed Jan 24, 2023
1 parent c884044 commit 7a21d77
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
6 changes: 5 additions & 1 deletion keps/prod-readiness/sig-apps/3017.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
kep-number: 3017
alpha:
approver: "@wojtek-t"
approver: "@wojtek-t"
beta:
approver: "@solysh"
stable:
approver: "@soltysh"
8 changes: 5 additions & 3 deletions keps/sig-apps/3017-pod-healthy-policy-for-pdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ https://storage.googleapis.com/k8s-triage/index.html
- <test>: <link to test coverage>
-->

[TestEvictionWithUnhealthyPodEvictionPolicy](https://github.com/kubernetes/kubernetes/blob/c8010537913422cc221cdd784936ff99817f621c/test/integration/evictions/evictions_test.go#L417): https://storage.googleapis.com/k8s-triage/index.html?test=UnhealthyPodEvictionPolicy

##### e2e tests

Expand Down Expand Up @@ -306,9 +307,10 @@ We expect no non-infra related flakes in the last month as a GA graduation crite

- Feature gate enabled by default.
- Existing E2E and conformance tests passing.
- Consider whether we want to keep the `spec.unhealthyPodEvictionPolicy` field null by default when not specified
or default it to `IfHealthyBudget` value. Both of these should preserve original behavior and handle null
values. This should be tested and documented.
- As `IfHealthyBudget` is generally the less desirable option, it would be good to inform users that they are using it.
We can achieve this by defaulting `spec.unhealthyPodEvictionPolicy` to a `IfHealthyBudget` value.
This might prompt users to re-evaluate the value and set it to `AlwaysAllow` which is preferable for most of the applications.
The default value should preserve original behavior and handle null values. This should be tested and documented.

#### GA

Expand Down
5 changes: 2 additions & 3 deletions keps/sig-apps/3017-pod-healthy-policy-for-pdb/kep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ approvers:
see-also:
replaces:

stage: alpha
stage: beta

latest-milestone: "v1.26"
latest-milestone: "v1.27"

# The milestone at which this feature was, or is targeted to be, at each stage.
milestone:
Expand All @@ -40,5 +40,4 @@ feature-gates:
- name: PodDisruptionBudgetPodHealthyPolicy
components:
- kube-apiserver
- kube-controller-manager
disable-supported: true

0 comments on commit 7a21d77

Please sign in to comment.