<p>When I run <code>kubectl cluster-info</code> in AKS I get this:</p>

<blockquote>
  <p>kubernetes-dashboard is running at <a href="https://clusterUrl/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy" rel="nofollow noreferrer">https://clusterUrl/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy</a></p>
</blockquote>

<p>This url is reachable in browser, but only returns 401. </p>

<p>I am wondering if it is possible to log in to Azure in some way so that this url is accessible? Would be quite convenient to access it directly.</p>

Ilya Chernomordik
<p>using kubectl proxy, you can access the dashboard</p>

<pre><code>[root@ae740dbd82bf /]# kubectl proxy
Starting to serve on 127.0.0.1:8001
</code></pre>

<p>open your browser and navigate to
<a href="http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/" rel="nofollow noreferrer">http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/</a></p>

<p>If you want to access it externally then you have two choices</p>

<ol>
<li>define service port as NodePort. Then you would be able to access dashboard on any CLUSTER_HOST:NODEPORT</li>
<li>Deploy an ingress controller and define a rule between the dashboard dns and the dashboard kubernetes service</li>
</ol>
