<p>I'm trying to use kubectl locally after creating a cluster via the cloud console but I keep getting an error. Below are the steps I took:</p>
<p>Via Cloud Console</p>
<blockquote>
<p>gcloud containers cluster create test</p>
</blockquote>
<p>Locally</p>
<blockquote>
<p>gcloud container clusters get-credentials test</p>
<p>kubectl cluster-info</p>
</blockquote>
<p>I'm getting the following error:</p>
<blockquote>
<p>error: failed to negotiate an api version; server supports: map[], client supports: map[componentconfig/v1alpha1:{} rbac.authorization.k8s.io/v1alpha1:{} authentication.k8s.io/v1beta1:{} apps/v1alpha1:{} batch/v1:{} authorization.k8s.io/v1beta1:{} autoscaling/v1:{} batch/v2alpha1:{} v1:{} extensions/v1beta1:{} policy/v1alpha1:{} federation/v1beta1:{}]</p>
</blockquote>
<p>Below is the output of kubectl version</p>
<blockquote>
<p>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;3&quot;, GitVersion:&quot;v1.3.5&quot;, GitCommit:&quot;b0deb2eb8f4037421077f77cb163dbb4c0a2a9f5&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-08-11T20:29:08Z&quot;, GoVersion:&quot;go1.6.2&quot;, Compiler:&quot;gc&quot;, Platform:&quot;windows/amd64&quot;}</p>
</blockquote>
<p>Below is extracted from from the output of kubectl cluster-info --v=8</p>
<blockquote>
<p>212 request.go:891] Response Body: Forbidden: &quot;/api&quot;</p>
</blockquote>
<p>Any help is greatly appreciated</p>

<p>Run again with --v=8 to see a trace of all the network calls</p>
