<p>Using google Kubernetes engine:</p>

<pre><code>kubectl cluster-info
kubernetes-dashboard is running at https://x.x.x.x/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy
</code></pre>

<p>If I go to the link:</p>

<p>I get to a forbidden page and if I accepts I get the following:</p>

<pre><code>{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {

  },
  "status": "Failure",
  "message": "services \"kubernetes-dashboard\" is forbidden: User \"system:anonymous\" cannot get services/proxy in the namespace \"kube-system\": Unknown user \"system:anonymous\"",
  "reason": "Forbidden",
  "details": {
    "name": "kubernetes-dashboard",
    "kind": "services"
  },
  "code": 403
}
</code></pre>

<p>Is it not possible to access the dashboard?</p>

<p>That url points to the Kubernetes API that requires authentication, and it's not the place to access the dashboard via web.</p>

<p>If you want to access the kubernetes dashboard, there are different options</p>

<ul>
<li>Use <a href="https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/#accessing-the-dashboard-ui" rel="nofollow noreferrer">kubectl proxy</a> to access the dashboard on <a href="http://localhost:8001/ui" rel="nofollow noreferrer">http://localhost:8001/ui</a>.</li>
<li>Use port-forwarding to access the Pod that's running the dashboard. Useful while developing.</li>
<li>Expose the dashboard using a service of type <code>NodePort</code>. Then you can access the dashboard on <code>node_public_ip:NodePort</code>.</li>
<li>Deploy an ingress controller and define an ingress rule that exposes the dashboard on a custom domain.</li>
</ul>
