Unable to access kubernetes dashboard : no route to host

10/12/2016

I install the kubernetes-dashboard on a kubernetes cluster base on Redhat linux.

Everything seems to be fine

# kubectl get --namespace kube-system pods
NAME                                    READY     STATUS    RESTARTS   AGE
kubernetes-dashboard-4236001524-m9uxm   1/1       Running   0          2h

except that when I try to access to the web interface

http://g-lsdp-kuber-master.rd.mydomain.fr:8080/ui

I'm redirected to to this new url

http://g-lsdp-kuber-master.rd.mydomain.fr:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/

and the result is :

Error: 'dial tcp 172.17.0.2:9090: getsockopt: no route to host'
Trying to reach: 'http://172.17.0.2:9090/'

I don't know where to find a solution, I already try to add a dns

docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS               NAMES
d415363280aa gcr.io/google_containers/skydns:2015-03-11-001     "/skydns"                38 minutes ago      Up 38 minutes                           furious_ramanujan
12d3530c9f4d  gcr.io/google_containers/kube2sky:1.11   "/kube2sky -v=10 -log"   39 minutes ago      Up 39 minutes    

with the same result.

-- user3876986
dashboard
kubernetes

0 Answers