Deleting a Managed Node Group - Amazon EKS

Deleting a Managed Node Group

This topic helps you to delete an Amazon EKS managed node group.

When you delete a managed node group, Amazon EKS randomly selects a node in your node group and sends a termination signal to the Auto Scaling group. Then Amazon EKS sends a signal to drain the pods from the node. If pods do not drain from a node (for example, if a pod disruption budget is too restrictive) for 15 minutes, then the pods are deleted. After the node is drained, it is terminated. This step is repeated until all of the nodes in the Auto Scaling group are terminated, and then the Auto Scaling group is deleted.

Important

If you delete a managed node group that uses a worker node IAM role that is not used by any other managed node group in the cluster, the role is removed from the aws-auth ConfigMap. If any self-managed node groups in the cluster are using the same worker node IAM role, the self-managed nodes will move to the NotReady status and cluster operation will be disrupted. You can add the mapping back to the ConfigMap to minimize disruption.

To delete a managed node group

  1. Open the Amazon EKS console at https://console.aws.amazon.com/eks/home#/clusters.

  2. Choose the cluster that contains the node group to delete.

  3. Select the node group to delete, and choose Delete.

  4. On the Delete nodegroup page, type the name of the cluster in the text field and choose Confirm