minikube dashboard returns 503 error on macOS
stop the minikube:
minikube stop
clean up the current minikune config and data ( which is not working or gone bad)
rm -rf ~/.minikube
Start minikube again: ( a fresh instance )
minikube start
I believe something is wrong with the VirtualBox networking conflicting with xhyve, I recommend you completely uninstall VirtualBox. Install docker for mac and install the hyperkit driver
Essentially, Hyperkit doesn't use VirtualBox but it uses the xhyve Hypervisor.
It works for me installing docker for mac and the hyperkit driver
$ kubectl cluster-info
Kubernetes master is running at https://192.168.64.2:8443
CoreDNS is running at https://192.168.64.2:8443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
$ minikube dashboard
Opening http://127.0.0.1:55919/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ in your default browser...
I think you should delete existing one. Simply run minikube delete -p minikube
. After deleting start new minikube cluster
I have the same problem and my environment is the same as yours.
ð Enabling dashboard ...
ð¤ Verifying dashboard health ...
ð Launching proxy ...
ð¤ Verifying proxy health ...
ð£ http://127.0.0.1:52582/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ is not responding properly: Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
Temporary Error: unexpected response code: 503
- MacOS 10.13.6
- Docker Desktop for mac
- VirtualBox
- Kubernetes v1.15.2
My solution is as follows:
- delete the existing VM
minikube delete -p minikube
- start minikube
minikube start
- Is there a problem with the dashboard?
mushuweideMacBook-Pro:tools mushuwei$ minikube dashboard
ð¤ Verifying dashboard health ...
ð Launching proxy ...
ð¤ Verifying proxy health ...
ð Opening http://127.0.0.1:53414/api/v1/namespaces/kube-system/services/http:kubernetes-dashboard:/proxy/ in your default browser...
enter image description here I hope my experience is useful to you!