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

Improve resource deletion and update karpenter #884

Merged
merged 4 commits into from
Jan 30, 2024

Conversation

ecpullen
Copy link
Contributor

@ecpullen ecpullen commented Jan 23, 2024

Issue number:

N/A

Description of changes:

This adds a new finalizer to indicate that the creation job has started in case it is stopped in the middle of provisioning. If this situation occurs, the destroy job is then launched to attempt to cleanup any resource that were partially created.

Testing done:

Used the updated eks and karpenter agents to provision several clusters and ensure that no artifacts are left over after deletion.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@ecpullen ecpullen marked this pull request as ready for review January 25, 2024 22:38
@ecpullen ecpullen force-pushed the resource-deletion branch 2 times, most recently from a4add17 to bb25590 Compare January 29, 2024 23:40
@ecpullen ecpullen changed the title Improve resource deletion Improve resource deletion and update karpenter Jan 29, 2024
@ecpullen ecpullen merged commit 4fd11be into bottlerocket-os:develop Jan 30, 2024
3 checks passed
@ecpullen ecpullen deleted the resource-deletion branch January 30, 2024 17:53
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.

3 participants