aws / eks-anywhere

Run Amazon EKS on your own infrastructure 🚀
https://anywhere.eks.amazonaws.com
Apache License 2.0
1.97k stars 286 forks source link

Clean Up Failed Workload Cluster Creation #6101

Open jonathanmeier5 opened 1 year ago

jonathanmeier5 commented 1 year ago

As a user, I would like a command or document kubectl example of how to clean up all the cluster resources for a workload cluster in a management cluster.

For instance, if my workload cluster creation times out and fails part way through the creation process, I would like to be able to copy/paste a command from the EKS Anywhere documentation that will clean up all leftover resources in my management cluster for the failed workload cluster.

This would allow me to easily attempt to retry creating the workload cluster.

vivek-koppuru commented 1 year ago

This might contain some information on how to clean up https://repost.aws/knowledge-center/eks-clean-up-resources-failed-cluster, we have a pending task to move these troubleshooting blogs that @chrisnegus is tracking https://github.com/aws/eks-anywhere/issues/5866

chrisnegus commented 11 months ago

I created PR #5866 to address this issue. I'll close this issue when that PR merges.