-
Notifications
You must be signed in to change notification settings - Fork 150
OCPBUGS-72387 Fix PDB blocking node drains during cluster upgrades #1099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
/cherry-pick release-4.21 |
|
@jhadvig: once the present PR merges, I will cherry-pick it on top of 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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cajieh, jhadvig The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/verified |
|
@cajieh: The 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/verified later @yapei |
|
@cajieh: This PR has been marked to be verified later by 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@cajieh: No Jira issue is referenced in the title of this pull request. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/retest |
|
@jhadvig It looks like you need to update the title to include "OCPBUGS-72260".🙂 |
|
@jhadvig: all tests passed! Full PR test history. Your PR dashboard. 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. |
During cluster upgrades (4.20→4.21), the console and downloads PDBs block node draining when pods are unhealthy or stuck, causing MCO to timeout and fail:
Cannot evict pod as it would violate the pod's disruption budgetSolution:
Add
unhealthyPodEvictionPolicy: AlwaysAllowto both PDBs.This allows unhealthy/stuck pods to be evicted even if it violates the budget, while healthy pods remain protected by
maxUnavailable: 1Impact
✅ Unblocks cluster upgrades (fixes node drain failures)
✅ Maintains availability guarantee during normal operations
✅ Works for both SNO and HA topologies
✅ No behavior change for healthy pods
/assign @TheRealJon @cajieh