'Minkube: Remove coredns

I wonder, if it's possible to remove coredns from a kubernetes cluster managed by minikube.

Context:

I self manage coredns with modified kubernetes manifests. In order to do so, I need to remove the preinstalled coredns resources. I do so by calling kubectl -n kube-system delete all -l k8s-app=kube-dns. However, if I restart minikube (minikube stop && minikube start), the previously deleted coredns resources get recreated.

I look forward to your responses.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source