I'm taking a Kubernetes course and part of the course is trying out minikube. I have minikube and kubectl installed on an Ubuntu 20.04 WSL on Windows 11. When I run minikube dashboard
in the Ubuntu terminal the process hangs on Verifying proxy health...
. I tried running kubectl proxy
in another terminal window then running minikube dashboard
.
I go to the dashboard URL and use the proxy port number that the kubectl proxy command indicates but I only get this:
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "no endpoints available for service \"kubernetes-dashboard\"",
"reason": "ServiceUnavailable",
"code": 503
}
I've also tried running minikube by using minikube start --vm-driver=docker
as mentioned in this GitHub issue but it still hangs. How do get the dashboard to run? I'm completely new to Kubernetes in general.
For me the same issue was resolved after a restart of the minikube.
minikube stop
<close previously opened dashboard process> - for me ctrl+c in separate terminal, but maybe you'd have to kill it
minikube start
minikube dashboard