<p>I have deployed kubernetes cluster. The issue i have is that the dashboard is not accessible from external desktop system.</p>

<p>Following is my setup.
Two vm's with cluster deployed, one master one node.
dashboard running without any issue the kube-dns is also working as expected.
kubernetes version is 1.7.</p>

<p>Issue: When trying to access dashboard externally through kubectl proxy. i get unauthorized response.</p>

<p>This is with rbac role and rolebindings enabled.
How to i configure the cluster for http browser access to dashboard from external system.</p>

<p>Any hint/suggestions are most welcome.</p>

<p>kubectl proxy not working > 1.7</p>

<p>try this:</p>

<p>copy ~/.kube/config file to your desktop
then run the kubect like this </p>

<pre><code>  export POD_NAME=$(kubectl --kubeconfig=config get pods -n kube-system -l "app=kubernetes-dashboard,release=kubernetes-dashboard" -o jsonpath="{.items[0].metadata.name}")
  echo http://127.0.0.1:9090/
  kubectl --kubeconfig=config -n kube-system port-forward $POD_NAME 9090:9090
</code></pre>

<p>Then access the ui like this: <a href="http://127.0.0.1:9090" rel="nofollow noreferrer">http://127.0.0.1:9090</a></p>

<p>see this helps</p>
