<p>In GKE, &quot;kubectl get nodes&quot; or &quot;kubectl get pods&quot; shows following result - &quot;Unable to connect to the server: dial tcp 35.238.244.7:443: i/o timeout&quot;. I have created kubernetes cluster with default 3VMs.</p>

ashok kumar
<p>This is a common error when you have not connected to your cluster yet.</p>
<p>Menu &gt; Kubernetes Engine &gt; go inside your cluster &gt; connect</p>
<pre><code>gcloud container clusters get-credentials xxxxx--zone us-central1-c --project xxxxxx
</code></pre>
