LevelUpEducation/kubernetes-demo

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 or minikube 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:

image

What you expected to happen:

OR

  • http://localhost:8001/ui should redirect to http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy/#!/overview

image

How to reproduce it (as minimally and precisely as possible):

  • run kubectl proxy
  • navigate to http://localhost:8001/ui through the browser or curl http://localhost:8001/ui

This issue is blocked by kubernetes/minikube#3041