-
Notifications
You must be signed in to change notification settings - Fork 141
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
View and select context similar to kubectl config get-contexts / use-context #38
Comments
Hi thanks for the feedback. We've have somehow divided the context management in two separate dialog:
Let us know if the dialog open with the |
Nope. When I press "l" (lowercase L) i get a dialog which shows login instead of list of contexts. I mean:
|
Actually, from the login dialog (open by pressing the I'm not familiar with AKS, but if it uses the |
No. az aks get-credentials will connect to azure and download from it credentials which are needed to connect to cluster. It will also append them to kube/config automatically. |
Then, you should be able to find the corresponding context in the login widget with the left and right arrow keys. |
Ok. They're there. Thx. |
Yes, I agree it's not very convenient, especially as the number of contexts increases. We need to improve the UI for browsing / switching contexts. Thanks for the feedback. |
If contents for this window is provided from kube/config then rewriting it to show list with names and urls to cluster along with +/- buttons which would then literally add or remove configs to/from kube/config would be enough I suppose. I wish my skill in node was higher so I could help here... |
Yes, the content of the login widget is sourced from the kubeconfig file. It's just a matter of improving the UI. |
Hello
Great tool. The only thing I miss is to be able to switch contexts in a way similar to how namespaces are selected. In README.md it is mentioned that there is interactive switching of contexts but I haven't found out how to do this.
It's just that I'm tired of constantly entering "kubectl config use-context" when I have to switch between clusters. I planned to write myself a script written in "dialog" to present a list of contexts and select one of them but then I found out your tool. It's great but I still miss this function in it.
If possible please add it.
Kind regards
Tom
The text was updated successfully, but these errors were encountered: