title: Uninstall Kubernetes from ubuntu 18.04
body: <p>I used below mentioned commands to remove kubernetes from my ubuntu 18.04 server.</p>
  
  <pre><code>kubeadm reset
  sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube*   
  sudo apt-get autoremove  
  sudo rm -rf ~/.kube
  </code></pre>
  
  <p>but still its showing : </p>
  
  <pre><code>Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
  The connection to the server `localhost:8080 was refused - did you specify the right host or port?   while running kubectl version .
  </code></pre>
  
  <p>How can i completely remove <code>kubectl</code> from my ubuntu server 18.04 ?</p>