My kubeconfig file only includes docker-desktop, how to add cluster and user definitions of minikube to kubeconfig file to interact with kubectl command so with Monokle itself?
Asked
Active
Viewed 3,175 times
2
-
1`minikube start` should do the setup for you. Is it missing? How can you tell? – David Maze Feb 27 '22 at 12:07
-
I did minikube start and it is showing everything is fine...even the kubeconfig is configured but in the file, as opened in VS code is only showing me docker-desktop. – Kanika Gola Feb 27 '22 at 13:13
-
Please provide enough code so others can better understand or reproduce the problem. – Community Feb 27 '22 at 14:59
-
please feel free to provide more details on it what command you have tried and actually what you are trying to setup. ideally as David said `minikube start` will solve your issue by default it will set the entry of minikube, you can check all entry using `kubectl config get-contexts` – Harsh Manvar Feb 27 '22 at 19:17
1 Answers
0
Add cluster generally means referring to an existing cluster, which is done through Docker context
Then, as explained here, switch to that context (and cluster) with docker context use <context name>
.

VonC
- 1,262,500
- 529
- 4,410
- 5,250