I have installed the kubernetes cluster with https://github.com/kubernetes-sigs/kubespray with vagrant. The installation was successful.
Next I would like to call the dashboard and generate the dashboard token as follows:
kubectl -n kube-system describe secret kubernetes-dashboard-token | grep 'token:' | grep -o '[^ ]\+#x27;
I've got the token and with kubectl proxy
statement, it starts the dashboard service.
Then calling the url http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login and enter the token, after then I've got:
What am I doing wrong?
This should be the solution: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/#default-nic-when-using-flannel-as-the-pod-network-in-vagrant
What do not know, how to solve.
I faced the same problem!