-
Notifications
You must be signed in to change notification settings - Fork 229
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
Delete cluster that no longer exists. #1406
Comments
You can remove them from the related kubeconfig file, but I think we should add a fix for this and have the Delete button showing regardless of whether the cluster is reachable (seems like a bug actually). |
Actually took a quick look and for the delete button to be showing, it has to be a cluster that was added from Headlamp (because we chose not to touch already existing clusters) and it's only available in the desktop version of Headlamp (as in the web, clusters are configured for the users by whoever deployed Headlamp). Does this make sense? |
I'm not sure that touching clusters is necessary. I had some clusters...I deleted them from headlamp (but could still kubectl/kubeconfig into them). I then deleted the actual clusters. I have a cluster that I forgot to delete from headlamp first. Now I can't see how to get rid of its listing. Id like to be able to remove this listing anyway at all. Where is it 'being remembered'? |
It reads the clusters from your kubeconfig, likely .kube/config in your home folder but depends on what OS you use. |
That works. I have removed .kube/config until it reflects what I want it to, and have loaded individual KubeConfig files for active clusters. My .kube/config also contains credentials for clusters deleted from headlamp, which don't show up. Go figure (there must be something else remembering status somewhere). That's a suitable workaround for now. Thank you. |
With a cluster that is connected I have the following options
View
Settings
Delete
.With a cluster that is not connected (Bad Gateway), because it no longer exists, I lose the option to
Delete
.This does not affect any functionality, but it's annoying having development clusters that have since been torn down, having forgotten to delete them from Headlamp Home, cluttering up the page.
Is there any way to remove such entries?
The text was updated successfully, but these errors were encountered: