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

Proposal: cluster creation failure should delete the CF stack #819

Open
jpmcb opened this issue May 9, 2023 · 0 comments
Open

Proposal: cluster creation failure should delete the CF stack #819

jpmcb opened this issue May 9, 2023 · 0 comments

Comments

@jpmcb
Copy link
Contributor

jpmcb commented May 9, 2023

Currently, if cluster creation fails for some reason, the agent's eksctl won't roll back the CF stack that was created. This can lead to latter results where subsequent cluster creations fail because the stack name is already taken:

2023-05-09 21:47:58 [✖]  creating CloudFormation stack "eksctl-x86-64-aws-k8s-124-cluster":
operation error CloudFormation: CreateStack, https response error StatusCode:
400, RequestID: 3aedd327-554f-418c-8b7b-581c217787c0, Error: failed to create cluster "x86-64-aws-k8s-124" 

Rollback completes succesfully but that stack name is still there. Not too hard to go in and manually clean up that stack, but would be great if this was alittle more 1-button-push

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

No branches or pull requests

1 participant