<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>

softshipper
<p>I faced the same problem!</p>

<ol>
<li>Check if the proxy is started: <strong>kubectl proxy</strong></li>
<li>Update the version DashBoard: from v1.10.0 to v2.0.0-beta4</li>
<li>Check if the NodePort is in the same dashboard's namespace</li>
</ol>
