<p>Newbie setup :</p>

<ol>
<li>Created First project in GCP</li>
<li>Created cluster with default, 3 nodes. Node version 1.7.6. cluster master version 1.7.6-gke.1.</li>
<li>Deployed aan application in a pod, per example.</li>
<li>Able to access "hello world" and the hostname, using the external-ip and the port.</li>
<li>In GCP / GKE webpage of my cloud console, clicked "discovery and loadbalancing", I was able to see the "kubernetes-dashboard" process in green-tick, but cannot access throught the IP listed. tried 8001,9090, /ui and nothing worked.</li>
<li>not using any cloud shell or gcloud commands on my local laptop. Everything is done on console.</li>
</ol>

<p>Questions : </p>

<ol>
<li>How can anyone access the kubernetes-dashboard of the cluster created in console? </li>
<li>docs are unclear, are the dashboard components incorporated in the console itself? Are the docs out of sync with GCP-GKE screens?      </li>
<li>tutorial says run "kubectl proxy" and then to open<br>
"<a href="http://localhost:8001/ui" rel="nofollow noreferrer">http://localhost:8001/ui</a>", but it doesnt work, why?</li>
</ol>

<p>If you create a cluster with with version 1.9.x or greater, then u can access using tokens.</p>

<ol>
<li>get secret.</li>
</ol>

<p><code>kubectl -n kube-system describe secrets    `kubectl -n kube-system get secrets | awk '/clusterrole-aggregation-controller/ {print $1}'` | awk '/token:/ {print $2}'</code></p>

<ol start="2">
<li><p>Copy secret.</p></li>
<li><p>kubectl proxy.</p></li>
<li><p>Open UI using 127.0.0.1:8001/ui. This will redirect to login page.
there will be two options to login, kubeconfig and token.
Select token and paste the secret copied earlier.</p></li>
</ol>

<p>hope this helps</p>
