minikube: `minikube dashboard` failed just after `minikube start`
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Please provide the following details:
Environment:
Minikube version (use minikube version):v0.25.0
- OS (e.g. from /etc/os-release):Mac OS X 10.13.3 (BuildVersion: 17D102)
- VM Driver (e.g.
cat ~/.minikube/machines/minikube/config.json | grep DriverName):virtualbox - ISO version (e.g.
cat ~/.minikube/machines/minikube/config.json | grep -i ISOorminikube ssh cat /etc/VERSION):minikube-v0.25.1.iso - Install tools: brew cask install minikube
- Others: The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
minikube version
echo "";
echo "OS:";
cat /etc/os-release
echo "";
echo "VM driver":
grep DriverName ~/.minikube/machines/minikube/config.json
echo "";
echo "ISO version";
grep -i ISO ~/.minikube/machines/minikube/config.json
minikube version: v0.25.0
OS:
cat: /etc/os-release: No such file or directory
VM driver:
"DriverName": "virtualbox",
ISO version
"Boot2DockerURL": "file:///Users/ichen/.minikube/cache/iso/minikube-v0.25.1.iso",
What happened:
This is my first time to use minikube, I was following the “Introduction to Kubernetes” course on edX.org.
After starting the minikube, I got the below error while running minikube dashboard
$ minikube status
minikube: Running
cluster: Running
kubectl: Correctly Configured: pointing to minikube-vm at 192.168.99.102
$ minikube dashboard
Could not find finalized endpoint being pointed to by kubernetes-dashboard: Error validating service: Error getting service kubernetes-dashboard: services "kubernetes-dashboard" not found
What you expected to happen: It would open a new tab on our web browser, displaying the Kubernetes dashboard.
How to reproduce it (as minimally and precisely as possible): I try the below steps again, get the same error:
- minikube delete
- minikube start
- minikube dashboard
Output of minikube logs (if applicable):
the output of logs is quite large, so I uploaded it as an attachment.
logs.txt
Anything else do we need to know:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (1 by maintainers)
I found the reason, it’s the f**king GFW of mainland China!
I travel HK today and try it again in the hotel, everything works now!
for a workaround of GFW, log in to the minikube virtual machine and set up HTTP/HTTPS proxy environmental variables for docker (https://stackoverflow.com/questions/23111631/cannot-download-docker-images-behind-a-proxy) and then everything should works fine.