Section 3.Lecture 21 - kubectl dashboard can't display
Closed this issue · 3 comments
Environment:
Minikube version (use minikube version
): v0.28.1
- OS : macOS Sierra v10.12.6
- 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 ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.28.1.iso
What happened:
After running kubectl proxy
, http://localhost:8001/ui
shows the following in the browser:
What you expected to happen:
OR
http://localhost:8001/ui
should redirect tohttp://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/overview
How to reproduce it (as minimally and precisely as possible):
- run
kubectl proxy
- navigate to
http://localhost:8001/ui
through the browser orcurl http://localhost:8001/ui
This issue is blocked by kubernetes/minikube#3041
A trouble shooting lecture is added: https://www.udemy.com/kubernetes-from-a-devops-kubernetes-guru/learn/v4/t/lecture/9671560/
In addition, another question is useful in this context.
Using v1.10, the dashboard URL after running kubectl proxy is http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
https://github.com/kubernetes/dashboard/wiki/Accessing-Dashboard---1.7.X-and-above
@jleetutorial Please FYI