External DNS: Configure it in all namespaces

12/13/2021

I have successfully installed external-dns in my Kubernetes cluster following the official steps on github, it creates a Route53 record and I am able to access it correctly. I installed this on a specific namespace.

My question is, do I need to deploy external-dns on each namespace (and then creating the service account, cluster role binding and deployment) or I can use the same deployment across namespaces?

-- estemendoza
amazon-web-services
external-dns
kubernetes

1 Answer

4/8/2022

The answer is no, you don't need to deploy it more than once. If you don't specify a namespace in the args section of your external-dns deployment using --namespace=, it works for all of the namespaces in the cluster. enter image description here

-- Babak Karimi Bavandpour
Source: StackOverflow