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

Cancel instance refresh on any relevant change to ASG, delete machine pool user data file from S3 when pruning an old launch template version #255

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

… pool user data file from S3 when pruning an old launch template version

TODO Add debug logs

More debug logs

More debug logs

Delay directly after cancelling instance refresh

Ignore ActiveInstanceRefreshNotFound on cancel (for idempotence), only cancel if unfinished *and* not in Cancelling status

Try deleting machine pool user data file from S3 when pruning an old launch template version

Add debug logs

Read bootstrap data hash from tag since user data != bootstrap data in case of S3 storage

Fix error handling

Test fixes, remove debug logs

Delete machine pool files only if feature flag enabled

final tag
@AndiDog AndiDog requested a review from a team as a code owner July 15, 2024 15:07
@AndiDog AndiDog merged commit 6b05efd into master Jul 16, 2024
5 checks passed
@AndiDog AndiDog deleted the s3-user-data-support-for-awsmachinepool branch July 16, 2024 15:41
@AndiDog AndiDog mentioned this pull request Jul 16, 2024
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.

2 participants