<p>I would imagine the interface would have some button I could click to launch the kubectl proxy dashboard, but I could not find it.</p>

<p>I tried this command to get the token and entered it in:</p>

<pre><code>gcloud container clusters get-credentials mycluster

kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | awk '/^deployment-controller-token-/{print $1}') | awk '$1=="token:"{print $2}'

kubectl proxy
</code></pre>

<p>And it shows some things, but not others (services are missing, says it's forbidden).</p>

<p>How do I use kubectl proxy or show that dashboard with GKE?</p>

atkayla
<p>Provided you are authenticated with <code>gcloud auth login</code> and the current project and k8s cluster is configured to the one you need, authenticate <code>kubectl</code> to the cluster (this will write <code>~/.kube/config</code>):</p>

<pre><code>gcloud container clusters get-credentials &lt;cluster name&gt; --zone &lt;zone&gt; --project &lt;project&gt;
</code></pre>

<p>retrieve the auth token that the kubectl itself uses to authenticate as you</p>

<pre><code>gcloud config config-helper --format=json | jq -r '.credential.access_token'
</code></pre>

<p>run</p>

<pre><code>kubectl proxy
</code></pre>

<p>Then open a local machine web browser on</p>

<p><a href="http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy" rel="noreferrer">http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy</a>
(This will only work if you checked the checkbox Deploy Dashboard in GCP console)</p>

<p>and use the token from the second command to log in with your Google Account's permissions.</p>
