<p>I am new to Kubernetes. I am trying to launch a kubernetes cluster in my local mac machine. I am using following command to launch Kubernetes:</p>

<pre><code>minikube start --vm-driver=hyperkit
</code></pre>

<p>I am getting following error:</p>

<pre><code>/usr/local/bin/kubectl is version 1.14.7, and is incompatible with Kubernetes 1.17.0. 
You will need to update /usr/local/bin/kubectl or use 'minikube kubectl' to connect with this cluster
</code></pre>

<p>Now while executing following command: </p>

<pre><code>minikube kubectl
</code></pre>

<p>It is not doing anything, just showing basic commands along with their usages.</p>

<p>And while trying to upgrade kubetctl it is showing it is already up to date.</p>

<p>I have not found any solution for this. Any idea regarding how to fix this ?</p>

Joy
<p>The best solution for you is to <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-macos" rel="nofollow noreferrer">update kubectl manually</a>. To perform this you need to download the binary: </p>

<p><a href="https://storage.googleapis.com/kubernetes-release/release/v1.17.0/bin/darwin/amd64/kubectl" rel="nofollow noreferrer">https://storage.googleapis.com/kubernetes-release/release/v1.17.0/bin/darwin/amd64/kubectl</a></p>

<p>Change permissions of kubectl to be executable:</p>

<pre><code>$ chmod +x ./kubectl 
</code></pre>

<p>And move to /usr/local/bin/ overwriting the old one. </p>

<pre><code>$ sudo mv ./kubectl $(which kubectl)
</code></pre>

<p>To check the effects, run:</p>

<pre><code>$ kubectl version
</code></pre>
