eksctl icon indicating copy to clipboard operation
eksctl copied to clipboard

delete failed, costing me money

Open lukemarsden opened this issue 3 years ago • 3 comments

luke@mind:~/eks$ eksctl delete cluster --force --region eu-north-1 helix-cluster --disable-nodegroup-eviction
2022-08-17 07:13:00 [ℹ]  deleting EKS cluster "helix-cluster"
2022-08-17 07:13:00 [!]  stack's status of nodegroup named eksctl-helix-cluster-nodegroup-ng-1 is DELETE_FAILED
2022-08-17 07:13:00 [ℹ]  deleted 0 Fargate profile(s)
2022-08-17 07:13:01 [ℹ]  cleaning up AWS load balancers created by Kubernetes objects of Kind Service or Ingress
2022-08-17 07:13:02 [ℹ]  1 task: { delete cluster control plane "helix-cluster" [async] }
2022-08-17 07:13:02 [ℹ]  will delete stack "eksctl-helix-cluster-cluster"
2022-08-17 07:13:02 [!]  found the following undeleted stacks: eksctl-helix-cluster-nodegroup-ng-1
Error: failed to delete all resources

lukemarsden avatar Aug 17 '22 06:08 lukemarsden

Hello lukemarsden :wave: Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-3 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

github-actions[bot] avatar Aug 17 '22 06:08 github-actions[bot]

Can you share the events for the CloudFormation stack eksctl-helix-cluster-nodegroup-ng-1, using the AWS Console or via aws cloudformation describe-stack-events?

As a workaround, you can try deleting the CloudFormation stack eksctl-helix-cluster-nodegroup-ng-1 manually and run eksctl delete cluster again.

cPu1 avatar Aug 17 '22 06:08 cPu1

it fails every now and then, that's why I have extensive retry-until-success in my wrapper https://github.com/matti/eksler/blob/13c035133ca1909678a5c47476cfee18b92b34c6/bin/eksler#L210-L235

matti avatar Aug 18 '22 12:08 matti

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Sep 26 '22 02:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 02 '22 02:10 github-actions[bot]