gardener / external-dns-management

Environment to manage external DNS entries for a kubernetes cluster
Apache License 2.0
81 stars 67 forks source link

Background processing for address lookups of CNAME replacements #377

Closed MartinWeindel closed 2 months ago

MartinWeindel commented 3 months ago

What this PR does / why we need it: The address lookups for domain names in DNSEntries to create A or AAAA records have been moved to a separate background processing to avoid periodic reconciliation of such DNSEntries. Additionally, it is now possible to create A or AAAA records instead of a CNAME record for a single domain name target by specifying .spec.resolveTargetsToAddresses: true as requested in #371.

Metrics have been added for monitoring usage and load by the lookup processor.

Which issue(s) this PR fixes: Fixes #371

Special notes for your reviewer:

Release note:

The address lookups for domain names in `DNSEntries` to create  `A` or `AAAA` records has been moved to a separate background processing to avoid periodic reconciliation of such `DNSEntries`.
Additionally, it is now possible to create `A` or `AAAA` records instead of a `CNAME` record for a single domain name target by specifying `.spec.resolveTargetsToAddresses: true`.