-
Notifications
You must be signed in to change notification settings - Fork 221
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
fix!: Prevent eviction hanging due to do-not-evict
#220
fix!: Prevent eviction hanging due to do-not-evict
#220
Conversation
do-not-evict
Pull Request Test Coverage Report for Build 4245924130
💛 - Coveralls |
Do we need a breaking notice on this? |
do-not-evict
do-not-evict
do-not-evict
do-not-evict
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.
Nice. Some comments. Can you add in some docs changes as well for this?
Docs will go in the main |
218647c
to
b37e3ef
Compare
b37e3ef
to
1096a1a
Compare
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.
LGTM
Fixes aws/karpenter-provider-aws#3383
Description
Remove
do-not-evict
preventing eviction when the Node is forcefully deleted throughkubectl delete node
or some other forceful deletion mechanism (like AWS interruption).do-not-evict
should only be considered for Karpenter's voluntary disruption mechanisms (like emptiness/underutilization/consolidation, expiration, drift, etc.)BREAKING CHANGE: Customers who are currently deleting nodes with pods that have
do-not-evict
annotations will no longer have nodes hang on draining for this, meaning that they can't usedo-not-evict
as a stop-gapHow was this change tested?
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.