title: How do I kill microk8s kubernetes?
body: <p>I took a course a while ago on Kubernetes. I used my Ubuntu 20.04.3 LTS laptop to set up the environment for educational purposes.</p>
  <p>I used microk8s as my Kubernetes distribution.</p>
  <p>I recently noticed that there were the following processes using about 1/2 GB of memory:</p>
  <pre><code>kube-apiserver
  kube-controller
  kubelet
  </code></pre>
  <p>They are all running as root.</p>
  <p>This is their specific version information.</p>
  <pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20+&quot;, GitVersion:&quot;v1.20.13-35+005120472f128e&quot;, GitCommit:&quot;005120472f128ee37994ebbe34eb340d4a580a95&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2021-11-18T08:25:58Z&quot;, GoVersion:&quot;go1.15.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20+&quot;, GitVersion:&quot;v1.20.13-35+005120472f128e&quot;, GitCommit:&quot;005120472f128ee37994ebbe34eb340d4a580a95&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2021-11-18T08:26:57Z&quot;, GoVersion:&quot;go1.15.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
  </code></pre>
  <p>I tried to kill the processes by using the following method:</p>
  <pre><code>sudo kill -9 {pid}
  </code></pre>
  <p>However, the processes came back!</p>
  <p>How do I kill a microk8s kubernetes cluster? I do not care about retaining any data and I do not want the cluster to restart on boot.</p>