feat: Added support for unhealthyPodEvictionPolicy to PDBs#7537
feat: Added support for unhealthyPodEvictionPolicy to PDBs#7537peterabarr wants to merge 1 commit intocert-manager:masterfrom
Conversation
template Signed-off-by: peterabarr <90917602+peterabarr@users.noreply.github.com>
|
@peterabarr: The label(s) DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @peterabarr. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/kind feature |
|
Issues go stale after 90d of inactivity. |
erikgb
left a comment
There was a problem hiding this comment.
/remove-lifecycle stale
/ok-to-test
This looks useful. Sorry for the delayed review.
| {{- if hasKey .Values.cainjector.podDisruptionBudget "maxUnavailable" }} | ||
| maxUnavailable: {{ .Values.cainjector.podDisruptionBudget.maxUnavailable }} | ||
| {{- end }} | ||
| {{- if (semverCompare ">= 1.27-0" .Capabilities.KubeVersion.Version) }} |
There was a problem hiding this comment.
I think this conditional can be removed. Even on Kubernetes 1.27 this requires enabling a feature gate. The feature gate is only enabled by default from K8s 1.31, ref. https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy
Same in other places.
|
@peterabarr: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Issues go stale after 90d of inactivity. |
|
/remove-lifecycle stale |
|
@peterabarr, are you able to finalize this PR? We just got a similar PR from @jcpunk suggesting a similar change: #7728. But I would love to merge this older PR if you can fix the review feedback and make CI green. Please let us know! |
|
Issues go stale after 6 months of inactivity. |
|
As we haven't got any feedback from the author of this PR, I am going to close it and try to get #7728 merged instead. /close |
|
@erikgb: Closed this PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Pull Request Motivation
I opened #7275 as I would like to be able to set this policy to the Cert Manager PDBs used in my environments.
Kind
/kind
Release Note