Repoint external-dns at the in-cluster bind-externaldns primary #287
Reference in New Issue
Block a user
Delete Branch "benvin/externaldns-incluster"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Step 2 of 3 in the external-dns → in-cluster bind migration. external-dns currently pushes RFC2136 updates to the legacy VM
ausyd1nxvm2127.main.unkin.net. This repoints it at the in-clusterbind-externaldnsprimary so the in-cluster zone becomes the live source of truth fork8s.syd1.au.unkin.net+200.18.198.in-addr.arpa.Changes
--rfc2136-hostatbind-externaldns-primary.bind-internal.svc.cluster.local(verified live: ClusterIP Servicebind-externaldns-primaryexists inbind-internal).secret+algorithmfrom Secretexternaldns-key-tsig(reflected by PR 1) instead of the Vault-backedexternaldns-tsig.txtOwnerId: k8sunchanged.apps/base/externaldns/{vaultauth,vaultstaticsecret}.yaml) in place as the rollback path; their removal is a later cleanup PR.Merge gate
benvin/externaldns-tsig-reflect) merged, ANDkubectl -n externaldns get secret externaldns-key-tsigreturns keyssecret+algorithm.TXT-registry note
policy: sync+registry: txt: on first reconcile against the (currently empty) in-cluster zone, external-dns re-creates all managed A/CNAME records and their ownership TXTs from scratch. This is expected and populates the zone.Verification (after merge)
Logs should show updates to
bind-externaldns-primary...with NOBADKEY/NOTAUTH; sampled A records should start resolving against the in-cluster server (198.18.200.8) as the sync populates the zone.Rollback
Revert this PR (host + secret name back to
ausyd1nxvm2127.main.unkin.net/externaldns-tsig). The legacy VM is untouched and still authoritative.