Deleting EKS Cluster and Related Resources

In this lesson, we will go over the method to delete an EKS cluster and free up unused resources.

When we created Cluster Autoscaler, we had to add a policy that will allow it to manipulate AWS Auto-Scaling Groups. Just as with the ELB, we need to delete that policy before we delete the EKS cluster. Otherwise, cluster removal would fail.

We retrieved the name of the role by filtering the results with jq. Once we got the role, we used it to delete the policy we created while we were setting up Cluster Autoscaler.

Now we are ready to delete the EKS cluster.


Finally, let’s look at how to delete an AKS cluster in the next lesson.

Deleting GKE Cluster and Unused Resources
Deleting AKS Cluster and Related Resources
Mark as Completed
Report an Issue