Kubernetes UI unreachable Kubernetes UI unreachable kubernetes kubernetes

Kubernetes UI unreachable


I'm very new in Kubernetes, but I just had the dashboard work for me in a local VM cluster, so I'll share my recent experience, just in case it's helpful.

I installed it, like you did, using

kubectl create -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml

which gave me this output:

deployment "kubernetes-dashboard" createdYou have exposed your service on an external port on all nodes in yourcluster.  If you want to expose this service to the external internet, you mayneed to set up firewall rules for the service port(s) (tcp:32548) to serve traffic.See http://releases.k8s.io/release-1.2/docs/user-guide/services-firewalls.md for more details.service "kubernetes-dashboard" created

So I access it via browser using master's IP address, and the port stated in the output, like:

http://<kube-master-IP>:<port>

In my case, it's:

http://172.17.4.101:32548

However I did it on my machine, so, as also stated in the output above, mind that:

If you want to expose this service to the external internet, you may need to set up firewall rules for the service port(s) (tcp:32548) to serve traffic.


Same thing happened to me. Interestingly, it was in fact running in port 4194. I did netstat -planet|grep LISTEN and tried all the ports listening. When I got to 4194, I got the dashboard. So everything was working. You just have to configure it properly to route to the port you want.