-
Notifications
You must be signed in to change notification settings - Fork 215
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: handle NodeClaim termination in the lifecycle controller #1721
fix: handle NodeClaim termination in the lifecycle controller #1721
Conversation
23aec59
to
a114269
Compare
a114269
to
490dc69
Compare
490dc69
to
ed92d2d
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jmdeal, jonathan-innis The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold |
Pull Request Test Coverage Report for Build 11096184653Details
💛 - Coveralls |
/unhold |
Fixes #N/A
Description
Collapses the NodeClaim termination and lifecycle controllers. This eliminates a race where the termination controller may finalize a NodeClaim while the lifecycle controller is launching an instance, resulting in an instance leak. The garbage collection controller ensures that this leaked instance is cleaned up, but this prevents the leak from occurring in the first place.
How was this change tested?
make presubmit
and E2Es in karpenter-provider-aws (TODO)By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.