title: How to log in to the microk8s Kubernetes Dashboard?
body: <p>I enabled the dashboard in microk8s:</p>
  
  <pre><code>microk8s.enable dns dashboard
  </code></pre>
  
  <p>I found its IP address:</p>
  
  <pre><code>microk8s.kubectl get all --all-namespaces
      ...
  kube-system   service/kubernetes-dashboard ClusterIP 10.152.183.212 &lt;none&gt; 443/TCP 24h
      ...
  </code></pre>
  
  <p>I tried to display it in my browser using the URL <a href="https://10.152.183.212" rel="noreferrer">https://10.152.183.212</a>. My browser gives the error "Authentication failed. Please try again.":</p>
  
  <p><a href="https://i.stack.imgur.com/ZHl3V.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZHl3V.png" alt="Kubernetes dashboard &#39;Authentication failed. Please try again.&#39;"></a></p>
  
  <p>I have also received the similar error, "Not enough data to create auth info structure."</p>