<p>I created the kubernetes cluster and i am not able to connect to the cluster, getting below error.</p>

<p>rakesh_pal@sandbox:~$ gcloud beta container clusters get-credentials map-c1 --region us-central1 --project sandboxWarning: you invoked <code>gcloud beta</code>, but with current configurationKubernetes Engine v1 API will be used instead of v1beta1 API.If you intended to use v1beta1 API instead, please setcontainer/use_v1_api_client property to false.Do you want to continue (Y/n)? YFetching cluster endpoint and auth data.ERROR: (gcloud.beta.container.clusters.get-credentials) ResponseError: code=400, message='us-central1' is not a valid zone.rakesh_pal@sandbox:~$</p>

<p>Can you please help me on this.</p>

<p>I succeeded after using this command:</p>

<p>gcloud config set container/use_v1_api false</p>
