Deleting clusters and contexts with kubectl
When you create a lot of EKS clusters, you may end up with clusters that have unnecessary, broken connections. In that case, you can clean them up using the com
GGAMI
When you create a lot of EKS clusters, you may end up with clusters that have unnecessary, broken connections.
In that case, you can clean them up using the commands below.
kubectl config delete-cluster my-cluster
kubectl config delete-context my-cluster-contextkubectl config unset users.my-cluster-admin