<p>I have three clusters in <code>Google Kubernetes Engine</code>, and I am trying to see Kubernetes dashboard but I get the same <code>access-token</code> for two different clusters.</p>

<p>Using <code>kubectl config view</code> command I get:</p>

<pre><code>- name: gke_PROJECT_ZONE_A_NAME_A
  user:
    auth-provider:
      config:
        access-token: TOKEN-A

- name: gke_PROJECT_ZONE_B_NAME_B
  user:
    auth-provider:
      config:
        access-token: TOKEN-B

- name: gke_PROJECT_ZONE_C_NAME_C
  user:
    auth-provider:
      config:
        access-token: TOKEN-B
</code></pre>

<p>when gke_PROJECT_ZONE_B_NAME_B and gke_PROJECT_ZONE_C_NAME_C share the same access token, hence when I connect via <code>kubectl proxy</code> and insert the token I get the same the dashboard.</p>

<p>How I can refresh the access token for cluster B or C so i'll get the desired dashboard?</p>

<p>i've tried to use <code>gcloud container clusters get-credentials CLUSTER-C --zone ZONE-C --project MY_PROJECT</code>, which returns </p>

<blockquote>
  <p>Fetching cluster endpoint and auth data. kubeconfig entry generated
  for CLUSTER-C.</p>
</blockquote>

<p>and afterwards I don't get any access token for CLUSTER-C</p>

<p>thank you</p>

<p>Restarting the UI service by running <code>kubectl proxy</code>, entering to the UI via <code>http://localhost:8001/ui</code> and refreshing the page cause the access token to refresh.</p>
