Open kelsk opened 3 years ago
The stop clears the context and hence it doesn't show in the switch context, The minkube task https://github.com/kubernetes/minikube/issues/9001 exposed the keep active context through a flag. @glouischandra - Do you know if we pass this flag to be true while stopping the minikube cluster?
Use case [What are you trying to do that our extension doesn't let you?]
I'd like to start minikube and switch current context from the command palette instead of using the minikube status bar.
Feature [What would help?]
Currently, after selecting the Run on Kubernetes command, the user is prompted to select the context by clicking "Yes" or "Switch current context".
This is where I'd like to be able to select minikube.
If the user selects "Switch Current Context", the resulting dialog could list all the user's clusters (as in the current ui) and additionally it could provide the options: "Add a new or existing cluster" and "Run locally using minikube".
Here's a gif of my ideal flow: