Difference between revisions of "Eksctl delete"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
eksctl delete cluster | eksctl delete cluster | ||
Error: --name must be set | Error: --name must be set | ||
+ | |||
+ | [[eksctl delete cluster --help]] | ||
eksctl delete cluster --name your-eks-cluster-name | eksctl delete cluster --name your-eks-cluster-name |
Revision as of 18:10, 10 May 2022
eksctl delete
eksctl delete cluster Error: --name must be set
eksctl delete cluster --help
eksctl delete cluster --name your-eks-cluster-name (It will take approximately 5 min)
eksctl delete cluster --name mytest-eks-aabbccdd 2022-05-10 20:08:52 [ℹ] eksctl version 0.96.0 2022-05-10 20:08:52 [ℹ] using region eu-central-1 Error: unable to describe cluster control plane: ResourceNotFoundException: No cluster found for name: mytest-eks-aabbccdd. { RespMetadata: { StatusCode: 404, RequestID: "da0d5d6f-ae9a-40d7-88bf-6175e651c119" }, Message_: "No cluster found for name: mytest-eks-gqLnwyJm." }
Output
eksctl delete cluster --name your-eks-cluster-name (It will take approximately 5 min)
2021-11-14 16:02:26 [ℹ] eksctl version 0.73.0 2021-11-14 16:02:26 [ℹ] using region us-east-2 2021-11-14 16:02:26 [ℹ] deleting EKS cluster "your-eks-cluster-name" 2021-11-14 16:02:27 [ℹ] will drain 0 unmanaged nodegroup(s) in cluster "your-eks-cluster-name" 2021-11-14 16:02:28 [ℹ] deleted 0 Fargate profile(s) 2021-11-14 16:02:29 [✔] kubeconfig has been updated 2021-11-14 16:02:29 [ℹ] cleaning up AWS load balancers created by Kubernetes objects of Kind Service or Ingress 2021-11-14 16:02:32 [ℹ] 2 sequential tasks: { delete nodegroup "ng-7c82e419", delete cluster control plane "your-eks-cluster-name" [async] } 2021-11-14 16:02:32 [ℹ] will delete stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:02:32 [ℹ] waiting for stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" to get deleted 2021-11-14 16:02:32 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:02:48 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:03:06 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:03:26 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:03:43 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:04:03 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:04:23 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:04:42 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:05:00 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:05:18 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:05:35 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:05:51 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:06:10 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:06:26 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:06:43 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:07:01 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:07:17 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:07:36 [ℹ] waiting for CloudFormation stack "eksctl-your-eks-cluster-name-nodegroup-ng-7c82e419" 2021-11-14 16:07:37 [ℹ] will delete stack "eksctl-your-eks-cluster-name-cluster" 2021-11-14 16:07:37 [✔] all cluster resources were deleted
Related
See also
Advertising: