Kubernetes Dashboard not accesible

1/7/2020

enter image description here enter image description here

Now when I try to access the url https://172.21.97.117:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy I could see the title loaded but not few js associated with it. below are the javascript I got from browser's devtools

enter image description here I could access the kubernetes dashboard container directly from the machine where is it deployed(worker 1) and the js as well but from master and other worker node the js is not loading.

enter image description here Dashboard is installed from - https://github.com/kubernetes/dashboard

-- Susanta Adhikary
kubernetes
project-calico

1 Answer

1/7/2020

Since you can access it directly on the container, this might solve:

There is a known issue related to Kubernetes 1.7.6 where /ui redirect does not work. Try to add trailing slash at the end of /proxy/ redirect url: https://172.21.97.117:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/

Let me know if that helped.

-- willrof
Source: StackOverflow