-
Notifications
You must be signed in to change notification settings - Fork 209
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
feat: expose nodeclaim disruption through new disruption condition, improves pod eviction event message #1370
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: cnmcavoy 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 |
83de6f8
to
a7f19d9
Compare
Pull Request Test Coverage Report for Build 9718717778Details
💛 - Coveralls |
a7f19d9
to
3e04007
Compare
Pull Request Test Coverage Report for Build 9750492374Details
💛 - Coveralls |
9819849
to
3041c3e
Compare
Pull Request Test Coverage Report for Build 9781364600Details
💛 - Coveralls |
3041c3e
to
0d31c2d
Compare
Pull Request Test Coverage Report for Build 12013585788Details
💛 - Coveralls |
/remove-needs-rebase |
0d31c2d
to
ef86002
Compare
ef86002
to
2b235b5
Compare
2b235b5
to
0807939
Compare
dbe3f32
to
13fd78e
Compare
13fd78e
to
4677dff
Compare
This PR has been inactive for 14 days. StaleBot will close this stale PR after 14 more days of inactivity. |
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 work!
4677dff
to
791cb0a
Compare
ab5dbb4
to
22ed1fe
Compare
5743ceb
to
5381d84
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.
Nice work, think we're getting close!
8f0d122
to
23471fa
Compare
23471fa
to
001c05c
Compare
…dd eviction message from condition Signed-off-by: Cameron McAvoy <[email protected]>
001c05c
to
ed1453b
Compare
Fixes #N/A
Description
Add's a new nodeclaim condition
DisruptionCandidate
which is set when a nodeclaim is being disrupted, and is applied after the disruption taint is set. TheDisruptionCandidate
nodeclaim condition contains the reason why the nodeclaim is being terminated (e.gnode worker-mgn6n/ip-10-115-200-242.us-east-2.compute.internal was single node consolidated
).The motivation for this new nodeclaim condition is so that when evicting pods, we can look up this condition and use the condition's message in the pod event.
Example of what the pod events look like now from testing in our clusters:
How was this change tested?
Built Karpenter with this change locally and tested in our clusters. Also
make presubmit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.