unable to launch the kubernetes dashboard

4/19/2020

i have a 2 node cluster and try to set up the dashboard.

Applied the file $ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/recommended.yaml

started the kubectl proxy as well.

i am able to access the path http://127.0.0.1:8001/api/v1/namespaces/kube-system/services/ but when i am entering the whole path http://127.0.0.1:8001/api/v1/namespaces/kubernetes-dashboard/services/http:kubernetes-dashboard:/proxy/

i am getting an error on the web page: "Error trying to reach service: 'dial tcp 172.17.0.3:8443: connect: no route to host'" and this is the same error i am getting while doing CURL command on the master node.

-- opensource engineer
kubernetes-dashboard

0 Answers