Deregistering a cluster
If you are finished using a connected cluster, you can deregister it. After it's deregistered, the cluster is no longer visible in the Amazon EKS console.
You must have the following permissions to call the deregisterCluster API:
eks:DeregisterCluster
-
ssm:DeleteActivation
-
ssm:DeregisterManagedInstance
To clean up the resources on your Kubernetes cluster.
-
Delete the Amazon EKS Connector YAML file from your Kubernetes cluster.
kubectl delete -f
eks-connector.yaml
-
If you created
clusterrole
orclusterrolebindings
for additional IAM principals to access the cluster, delete them from your Kubernetes cluster.