This is my first time what I'm installing Kubernetes and trying to understand how it works. First problem that I can't solve is opening Dashboard via HTTP protocol using proxy by visting the URL from documentation:
Browser's respond is: This site can’t be reached. Localhost refused to connect.
Little bit about my environment!
I've started with virtual machines equipped with:
- Master: 2 VCPU, 4GB RAM, Ubuntu 18.04
- Worker1: 1 VCPU, 2GB RAM, Ubuntu 18.04
- Worker1: 1 VCPU, 2GB RAM, Ubuntu 18.04
All running and connected to a private network.
So far I followed the instructions to setup production environment by installing kubeadm. Than created a single control-plane cluster with kubeadm without joining any nodes yet.
Environment that I created is:
- Kubernetes version 1.15 (run as root user)
- Docker version 18.09.9 (run as root user)
- Calico version 3.8 (run as non-root user)
- Dashboard version 2.0.0-beta4 (run as non-root user)
All seems to be running.
What I can is to see some respond when I load
So what I can't is to open/load Kubernetes Dashboard UI using proxy over HTTP protocol by official Kubernetes Dashboard documentation.
P.S. One thing is unclear to me when setting up a new user to log in to Dashboard using bearer token tied to this user. Shouldn't the value of namespace be changed from kube-system to kubernetes-dashboard according to the changelog of v2.0.0-beta1?


kubectl describe --namespace=kubernetes-dashboard pod $POD, where$PODis the name of the dashboard pod. Also try to run command starting fromhttp, nothttps:http://master-IP:6443/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/- aga