-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting cluster states that kubeconfig isn't auto-generated #236
Comments
@jpds - what would you expect to occur in this scenario? In my head, if there is no default kubeconfig file and there isn't an autogenerated generated kubeconfig file then we should write a log file saying that we can't find a kubeconfig file and so no cleanup will be done. |
@richardcase That if eksctl had generated the kubeconfig, that it would remove the entry for the EKS cluster on deletion. |
@jpds - the autogenerated kube config file is stored in a subdirectory of the kube folder (normally ~/.kube). For example, An autogenerated kubeconfig is deleted if it exists. Recently @kschumy added deletion of the cluster details from a shared kubeconfig file (see #226) as well. |
@richardcase With Sorry if it wasn't clear, but I moved my working kubeconfig out of the way, before creating my EKS cluster, I then removed that EKS cluster without changing the config and eksctl told me that it couldn't remove the config as it wasn't autogenerated which it was. |
Ah, the linked pull request appears to have been merged just after |
@jpds - ah yes, i misread the order, sorry. When 0.1.5 is out then this should handle this scenario. |
This was indeed fixed in 0.1.5. |
Update image for runtime deployment
What happened?
I ran the following with no kubeconfig at all present in my home directory:
Versions
Please paste in the output of these commands:
The text was updated successfully, but these errors were encountered: