<p>I have a service running in <code>minikube</code> cluster:</p>
<pre><code>$ kubectl get service
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.96.0.1    &lt;none&gt;        443/TCP   4s
</code></pre>
<p>I tried to delete the service:</p>
<pre><code>$ kubectl delete --all services --all-namespaces
service &quot;kubernetes&quot; deleted

$ kubectl get service
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.96.0.1    &lt;none&gt;        443/TCP   2s
</code></pre>
<p>It is deleted but it restarts by itself. I have deleted all pod and deployment. But what makes the service restart? How can I delete the whole service?</p>

Joey Yi Zhao
<p>You can not delete the <code>kubernetes</code> service. Even if you delete it it will be re-created by kubernetes control plane. This service points to Kubernetes API Server pods and does not make sense to be deleted by users because that can render many other critical components that depends on this service non-functional.</p>
