Difference between revisions of "Eksctl delete"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 
https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html
 
https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html
 +
 +
eksctl delete cluster
 +
Error: --name must be set
  
 
  eksctl delete cluster --name your-eks-cluster-name
 
  eksctl delete cluster --name your-eks-cluster-name

Revision as of 20:52, 28 November 2021

https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html

eksctl delete cluster
Error: --name must be set
eksctl delete cluster --name your-eks-cluster-name
(It will take approximately 5 min) 

Output:

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: