admin@josungwoo-MBP eks % eksctl delete cluster --name eks-tutorial
2024-02-07 09:54:57 [ℹ] deleting EKS cluster "eks-tutorial"
2024-02-07 09:54:57 [ℹ] will drain 1 unmanaged nodegroup(s) in cluster "eks-tutorial"
2024-02-07 09:54:57 [ℹ] starting parallel draining, max in-flight of 1
2024-02-07 09:55:58 [!] 1 pods are unevictable from node ip-192-168-9-219.ap-northeast-2.compute.internal
2024-02-07 09:56:58 [!] 1 pods are unevictable from node ip-192-168-9-219.ap-northeast-2.compute.internal
계속 펜딩 상태...
아래 옵션을 주어서 삭제
eksctl delete cluster --name eks-tutorial --disable-nodegroup-eviction
admin@josungwoo-MBP eks % eksctl delete cluster --name eks-tutorial --disable-nodegroup-eviction
2024-02-07 09:59:45 [ℹ] deleting EKS cluster "eks-tutorial"
2024-02-07 09:59:45 [ℹ] will drain 1 unmanaged nodegroup(s) in cluster "eks-tutorial"
2024-02-07 09:59:45 [ℹ] starting parallel draining, max in-flight of 1
2024-02-07 10:00:01 [✔] drained all nodes: [ip-192-168-85-198.ap-northeast-2.compute.internal ip-192-168-22-84.ap-northeast-2.compute.internal ip-192-168-9-219.ap-northeast-2.compute.internal]
2024-02-07 10:00:02 [ℹ] deleted 0 Fargate profile(s)
2024-02-07 10:00:02 [✔] kubeconfig has been updated
2024-02-07 10:00:02 [ℹ] cleaning up AWS load balancers created by Kubernetes objects of Kind Service or Ingress
2024-02-07 10:00:04 [ℹ]
2 sequential tasks: { delete nodegroup "ng-1", delete cluster control plane "eks-tutorial" [async]
}
2024-02-07 10:00:04 [ℹ] will delete stack "eksctl-eks-tutorial-nodegroup-ng-1"
2024-02-07 10:00:04 [ℹ] waiting for stack "eksctl-eks-tutorial-nodegroup-ng-1" to get deleted
2024-02-07 10:00:04 [ℹ] waiting for CloudFormation stack "eksctl-eks-tutorial-nodegroup-ng-1"
2024-02-07 10:00:34 [ℹ] waiting for CloudFormation stack "eksctl-eks-tutorial-nodegroup-ng-1"
2024-02-07 10:01:32 [ℹ] waiting for CloudFormation stack "eksctl-eks-tutorial-nodegroup-ng-1"
2024-02-07 10:03:11 [ℹ] waiting for CloudFormation stack "eksctl-eks-tutorial-nodegroup-ng-1"
2024-02-07 10:03:11 [ℹ] will delete stack "eksctl-eks-tutorial-cluster"
2024-02-07 10:03:11 [✔] all cluster resources were deleted