Kubenetes gcloud container engine get-credential error
<p>I am trying to connect Google Container Engine from my local machine using <code>gcloud</code> sdk but i am getting below error.</p>

<pre><code>C:\Program Files (x86)\Google\Cloud SDK&gt;gcloud container clusters get-credential
s cluster-2  --zone us-central1-a --project myapp-00000
Fetching cluster endpoint and auth data.
ERROR: (gcloud.container.clusters.get-credentials) environment variable HOME or
KUBECONFIG must be set to store credentials for kubectl
</code></pre>

<p>I have check at HOME location there is not .kube folder created and not environment variable set by default, so i have created  <code>KUBECONFIG</code> environment by myself after that i am getting  below error :- </p>

<pre><code>ERROR: gcloud crashed (OSError): [Errno 13] Permission denied: 'C:\\Tool\\config'
</code></pre>

<p>i have started <code>gcloud</code> sdk as admin and it have all the correct Permission.</p>

<p><strong>EDIT</strong></p>

<p>I am using below version (which are latest as of today)</p>

<pre><code>Google Cloud SDK 129.0.0
kubectl
kubectl-windows-x86_64 1.4.0
C:\Program Files (x86)\Google\Cloud SDK&gt;kubectl version
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0",
</code></pre>