<p>My vanilla kubernetes cluster running on 'Docker for Mac' was running fine without any real load. Now, I deployed a few services and istio. Now, I am getting this error:</p>

<pre><code>$ kubectl get pods --all-namespaces
Unable to connect to the server: net/http: TLS handshake timeout
</code></pre>

<p>Where can I see the kubectl logs?</p>

<p>I am on Mac OS High Sierra. Thank you for reading my post.</p>

user674669
<p><a href="https://i.stack.imgur.com/mBCRI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mBCRI.png" alt="enter image description here"></a></p>

<p>I increased the RAM to 8GB, CPUs to 4 and swap space to 4GB, restarted Docker For Mac. kubectl works fine now.</p>
