title: Kubernetes: Kubectl still pointing to Minikube after removal
body: <p>I had Minikube installed on my Mac and then I removed it and replaced it with a <a href="https://medium.com/better-programming/local-k3s-cluster-made-easy-with-multipass-108bf6ce577c" rel="nofollow noreferrer">3-node cluster using Multipass and K3s</a>. Now my issue is that <code>kubectl</code> is still referring to Minikube when I execute its commands in terminal. </p>
  
  <p>For instance when I run <code>kubectl get nodes</code> I get the following error:</p>
  
  <pre><code>Error in configuration: 
  * unable to read client-cert /Users/hemodd/.minikube/client.crt for cluster1 due to open /Users/hemodd/.minikube/client.crt: no such file or directory
  * unable to read client-key /Users/hemodd/.minikube/client.key for cluster1 due to open /Users/hemodd/.minikube/client.key: no such file or directory
  * unable to read certificate-authority /Users/hemodd/.minikube/ca.crt for cluster1 due to open /Users/hemodd/.minikube/ca.crt: no such file or directory
  </code></pre>
  
  <p>I have followed these steps to remove Minikube but I am still getting the same error:</p>
  
  <pre><code>minikube delete 
  brew uninstall minikube
  rm -rf ~/.minikube
  </code></pre>
  
  <p>Any help is much appreciated.</p>