<p>I'm trying to understand how kubernetes works, so I tried to do this operation for my minikube:</p>
<pre><code>~ kubectl delete pod --all -n kube-system
pod &quot;coredns-f9fd979d6-5n4b6&quot; deleted
pod &quot;etcd-minikube&quot; deleted
pod &quot;kube-apiserver-minikube&quot; deleted
pod &quot;kube-controller-manager-minikube&quot; deleted
pod &quot;kube-proxy-879lg&quot; deleted
pod &quot;kube-scheduler-minikube&quot; deleted
</code></pre>
<p>It's okay. Pods deleted as wish. But if I do <code>kubectl get pods -n kube-system</code> I will see:</p>
<pre><code>NAME                               READY   STATUS    RESTARTS   AGE
coredns-f9fd979d6-5d25r            1/1     Running   0          50s
etcd-minikube                      1/1     Running   0          50s
kube-apiserver-minikube            1/1     Running   0          50s
kube-controller-manager-minikube   1/1     Running   0          50s
kube-proxy-nlw69                   1/1     Running   0          43s
kube-scheduler-minikube            1/1     Running   0          49s
</code></pre>
<p>Okay. I thought it's ReplicaSet or DaemonSet:</p>
<pre><code>➜  ~ kubectl get ds -n kube-system
NAME         DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR            AGE
kube-proxy   1         1         1       1            1           kubernetes.io/os=linux   18m
➜  ~ kubectl get rs -n kube-system
NAME                DESIRED   CURRENT   READY   AGE
coredns-f9fd979d6   1         1         1       18m
</code></pre>
<p>It is true for <code>coredns</code> and <code>kube-proxy</code>. But what about others (<code>apiserver</code>, <code>etcd</code>, <code>controller</code> and <code>scheduler</code>)? Why are they still alive?</p>

Василий Никпуп
<p>The control plane pods are run as <a href="https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/" rel="noreferrer">static Pods</a> - static Pods are not managed by the control plane controllers like e.g. DaemonSet and ReplicaSet. <em>Static pods</em> are instead managed by the Kubelet daemon on the local node directly.</p>
