Open ecerulm opened 3 years ago
It is indeed a requirement that any attached nodegroups must be deleted before the EKS cluster is deleted. With the AWS CLI you need to do something like this to achieve the same results.
aws eks list-nodegroups --cluster-name app-opal-weapon
aws eks delete-nodegroup --cluster-name app-opal-weapon --nodegroup-name app-opal-weapon-default-winning-chipmunk
aws eks delete-cluster --name app-opal-weapon
Just trying to delete the cluster without deleting the nodegroups first will result in an error.
aws-nuke
fails to delete the eks cluster, It seems that it does not even attempt to delete the EKS nodegroup (which i think it's a prerequisite to be able to delete the EKS cluster)If I delete the nodegroup manually from the AWS console and retry with
aws-nuke
then it succeeds in deleting the eks cluster.