-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
What would you like to be added:
To set a Split-Brain DNS (Split-Horizon) solution for AWS EKS / Route53 Public/Private Hosted Zones I deployed 2 external-dns instances:
-
one using ingress-class = public (internet-facing ingress controller) and records in Public Hosted Zone (--ingress-class=internet-facing, --aws-zone-type=public)
-
one using ingress-class = private (internal ingress controller) and records in Private Hosted Zone (--ingress-class=internal, --aws-zone-type=private)
It works and this is an acceptable solution even if 2 external-dns instances must be managed.
For some cases though I need to set some public IPs (internet-facing ingress-class) in the private hosted zone. As I know the only viable solution should be to deploy another external-dns instance with mixed: --ingress-class=internet-facing and --aws-zone-type=private but specific zone (domains) filters should be adopted to avoid race condition on zones management and also I will have another instance to manage.
Can external-dns be enhanced to support "ingress annotations" to introduce more flexible use of "--ingress-class" and " --aws-zone-type" per ingress instead of for external-dns instance ?
Why is this needed:
Less external-dns instances deployment an management.
More flexibility with configuration tied to ingress/service settings instead of external-dns instance wide setting.