-
Notifications
You must be signed in to change notification settings - Fork 42.1k
PDB checks should not be done for terminal pods while evicting #68892
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
Conversation
Signed-off-by: ravisantoshgudimetla <[email protected]>
|
/sig scheduling |
|
/kind bug |
|
/priority critical-urgent |
|
@ravisantoshgudimetla thank you for following up on this! /lgtm |
|
/approve This can prevent draining, but I don't think it is a regression (@ravisantoshgudimetla correct me if I'm mistaken). We should backport for 1.12.1. |
bsalamat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with this change. We must also ensure that the caller which requests the eviction checks the status of the pod and not request it for terminated pods.
/lgtm
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bsalamat, deads2k, derekwaynecarr, ravisantoshgudimetla 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 |
…pick-of-#68892-upstream-release-1.12 PDB checks should not be done for terminal pods while evicting
Signed-off-by: ravisantoshgudimetla [email protected]
What this PR does / why we need it:
As of now, while evicting terminal pods, we are checking pod disruption budgets for them where as we don't need to check pdbs for them as they already have caused disruption.
/cc @derekwaynecarr
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Release note: