Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

minkube dashboard command hangs on 'verifying proxy health'

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.

like image 744
mdailey77 Avatar asked Sep 07 '25 18:09

mdailey77


2 Answers

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
like image 117
Y. Lapidus Avatar answered Sep 10 '25 15:09

Y. Lapidus


It is worked for me after disabled metrics-server

minikube addons disable metrics-server

After disable, reenabled again and it continued to work.

minikube addons enable metrics-server
like image 32
acpuma Avatar answered Sep 10 '25 16:09

acpuma