Skip to content
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: add in finalizer removal for terminated instances #3640

Closed
wants to merge 1 commit into from

Conversation

njtran
Copy link
Contributor

@njtran njtran commented Mar 23, 2023

Fixes #3562

Description
This adds in a check to remove the finalizer and terminate the node with Interruption when the state changes to Terminated.

How was this change tested?

  • make presubmit

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@njtran njtran requested a review from a team as a code owner March 23, 2023 19:03
@njtran njtran requested a review from engedaam March 23, 2023 19:03
@netlify
Copy link

netlify bot commented Mar 23, 2023

Deploy Preview for karpenter-docs-prod canceled.

Name Link
🔨 Latest commit 7b129ec
🔍 Latest deploy log https://app.netlify.com/sites/karpenter-docs-prod/deploys/641ca5c21fcd410008a4535d

@ellistarn
Copy link
Contributor

Should this live in the interruption controller? What if I manually terminate an EC2 instance?

@njtran
Copy link
Contributor Author

njtran commented Mar 23, 2023

Talked with @ellistarn, we can try and do this in karpenter-core through the termination controller. Will try that and close this if that's the case.

@njtran njtran closed this Mar 23, 2023
@njtran njtran deleted the terminate branch April 6, 2023 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Karpenter takes a long time to delete nodes that have been removed by AWS via spot interruption
2 participants