<p>I'm just fished connect to my kubernete.</p>

<p>But affter that I need to change the gcloud location from <code>/Download</code> to <code>/usr</code> folder. </p>

<p>Next, I run <code>install.sh</code> file for update the new location in <code>.bash_profile</code>.</p>

<p>Then I check <code>gcloud</code> command. It working well</p>

<p>But when I run <code>kubectl get pod</code>. The error showing.</p>

<p><code>Unable to connect to the server: error executing access token command "/Users/panda/Downloads/google-cloud-sdk/bin/gcloud config config-helper --format=json": err=fork/exec /Users/panda/Downloads/google-cloud-sdk/bin/gcloud: no such file or directory output= stderr=</code></p>

<p>Hmm, how to update the location of <code>gcloud sdk</code> for solve this problem.</p>

<p>Thanks for your help.</p>

tuanngocptn
<p>In your Kubeconfig file (probably in <code>~/.kube/config</code>) you’ll see it has the old path to your <code>gcloud</code> CLI. Update that file with the new path.</p>
