-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external-dns creates DNS entries for sub-domains even if exclude-domains filter is set #1137
Comments
After reading through the code and doing additional tests, it looks like the
|
Hello @linki @njuettner |
Running into the same issue. We run 4x external-dns deployments in our production cluster so that we can access Route53 in four different AWS accounts using However, one account maintains the We're not using Our intention is to have external-dns process all requests, except the ones being excluded, which is not happening. |
In our current setup, external-dns tries to create DNS entries for sub-domains even if
--domain-filter
and--exclude-domains
are set.We are running a Kubernetes cluster in an AWS account.
The cluster serves requests arriving at multiple Route53 Hosted Zone.
The Hosted Zones are in the same AWS account as the Kubernetes cluster. Applications in the Kubernetes clusters can receive traffic via a sub-domain and on the Apex domain.
It looks like this:
We use the external-dns Kubernetes Ingress source to create domains for an application running on Kubernetes.
Sample output of
kubectl get ingress
:We start multiple external-dns processes, one for each Hosted Zone where DNS entries should be created (other options omitted for brevity):
1:
external-dns --domain-filter=cluster1.example.com
2:
external-dns --domain-filter=example.com --exclude-domains=cluster1.example.com
Process "1" does exactly what it is supposed to, creating records in the Hosted Zone
cluster1.example.com
only.Process "2" however tries to create DNS entries for
example.com
andcluster1.example.com
:I would have expect it to ignore all domains containing
cluster1.example.com
.We are not sure if this is a feature request or if external-dns can be set up in a different way to achieve what we are looking for. Please advice.
The text was updated successfully, but these errors were encountered: