-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Pause Pod Evictions during Full Zonal Disruption #131294
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
Pause Pod Evictions during Full Zonal Disruption #131294
Conversation
|
Please note that we're already in Test Freeze for the Fast forwards are scheduled to happen every 6 hours, whereas the most recent run was: Mon Apr 14 13:34:58 UTC 2025. |
|
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
|
Hi @rsumukha. Thanks for your PR. I'm waiting for a kubernetes 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. 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. |
|
/ok-to-test |
|
I am not opposed to having a flag to turn this on/off, looking for opinion the on the idea. |
9f8b21b to
df03c74
Compare
|
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
2f70eb2 to
55c3524
Compare
55c3524 to
da7f7b5
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sumukha-radhakrishna The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
If there is a full zonal disruption, then the zone is not guaranteed to come back. Thus the pods are left scheduled to those pods within the dead zone. I'm inclined to say the behavior is correct today by evicting the pods within the dead zone, so they have an opportunity to run in a different zone as a self-healing mechanism. Thoughts? |
You're right, evicting pods during zonal disruption can trigger rescheduling elsewhere, which is a good self-healing strategy. |
|
/remove-sig api-machinery |
|
@cartermckinnon @kmala please help review! |
|
If I had a magic coding wand (and, specifically, one significantly better than Claude):
Lots of extensibility options and the possibility to prototype it out-of-tree as well. Plus, the mechanism uses existing Kubernetes concepts so it will be very easy to teach. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Currently, we pause pod evictions when a zone experiences partial disruption. This is to prevent unnecessary evictions due to temporary or localized issues.
However, during a full zonal disruption, our current logic continues evicting pods, which can be counterproductive since the entire zone is unavailable.
All workloads in a zone gets evicted during FullZonalDisruption. I understand the idea to evict pods in a zone where we are not able to allocate/provision more capacity since its down.
I am not opposed to the idea of having a flag to turn this on/off, looking for opinion the on the idea.
Which issue(s) this PR fixes:
Fixes #131314
Special notes for your reviewer:
Does this PR introduce a user-facing change?
No
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: