I have a Kubernetes cluster in which I have multiple ingress controllers. I have deleted the source file of one ingress controller. How can I delete the ingress controller that I don't want further ??
first of all, you can follow below steps without manifest files:
kubectl get ns
for example : ingress-nginx
2- remove all resources in this namespace
kubectl delete all --all -n ingress-nginx
if your ingress controller is not installed in a dedicated namespace so you will have to remove resources one by one .
kubectl delete ingress ingress-nginx
kubectl delete deployment ingress-nginx
kubectl delete service ingress-nginx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With