<p>I restarted my mac (Mac OS High Sierra) and now Visual Studio code can't find kubectl binary even it is installed via brew.</p>

<pre><code>$ which kubectl
/usr/local/bin/kubectl
</code></pre>

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

<p>The weird thing is that it could find kubectl before I restarted my laptop.</p>

user674669
<p>adding the below config is vscode settings.json may resolve this</p>
<pre><code>&quot;vs-kubernetes&quot;: {
    &quot;vscode-kubernetes.minikube-path.mac&quot;: &quot;/path/to/minikube&quot;,
    &quot;vscode-kubernetes.kubectl-path.mac&quot;: &quot;/path/to/kubectl&quot;,
    &quot;vscode-kubernetes.helm-path.mac&quot; : &quot;/path/to/helm&quot;
}
</code></pre>
