title: Kubernetes dashboard the server could not find the requested resource
body: <p>I have installed the kubernetes cluster with <a href="https://github.com/kubernetes-sigs/kubespray" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/kubespray</a> with vagrant. The installation was successful.   </p>
  
  <p>Next I would like to call the dashboard and generate the dashboard token as follows: </p>
  
  <pre><code>kubectl -n kube-system describe secret kubernetes-dashboard-token | grep 'token:' | grep -o '[^ ]\+$'
  </code></pre>
  
  <p>I've got the token and with <code>kubectl proxy</code> statement, it starts the dashboard service. </p>
  
  <p>Then calling the url <a href="http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login" rel="nofollow noreferrer">http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login</a> and enter the token, after then I've got: </p>
  
  <p><a href="https://i.stack.imgur.com/P3rr9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P3rr9.png" alt="enter image description here"></a></p>
  
  <p>What am I doing wrong?   </p>
  
  <p>This should be the solution: 
  <a href="https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/#default-nic-when-using-flannel-as-the-pod-network-in-vagrant" rel="nofollow noreferrer">https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/troubleshooting-kubeadm/#default-nic-when-using-flannel-as-the-pod-network-in-vagrant</a></p>
  
  <p>What do not know, how to solve.</p>