TAK-OS DNS is an external authoritative service. The Go runtime replaces the retired Python implementation; its rollout must preserve Kubernetes' existing internal service-discovery DNS. Public delegation and external addresses are managed independently from the application.
Prepare
- Record the deployed immutable image digest, manifests or Orbit source revision, startup environment, routing/delegation and monitoring settings.
- Back up DNSZone/DNSRecords/PeerSite resources (including discovery status), settings ConfigMap and local/remote TSIG Secrets using approved secret storage. These are sensitive operational backups. Peer snapshots, transfer journals and watermarks are memory-only and are not part of a PVC backup.
- Verify configuration schema
v1, unique stable cluster identities, peer definitions for desired sources, key names and referenced Secrets. Pending discovered sites require credentials before they can supply DNS data. - Check target resource budgets, rollout policy, protocol compatibility and production acceptance. Complete the appropriate development checks for the candidate image.
When Orbit Deploy owns installation, change its source/replacement/image settings through the site's deployment process; avoid a competing manual apply loop. Confirm the CR/Secret/settings ownership policy so reconciliation does not undo console edits. See running under Orbit Deploy.
For the annotation-based Ingress generation update, annotate each controller Service
with dns.tak-os.org/ingress: "true" and its dns.tak-os.org/ingress-class name(s),
and set spec.ingressClassName on each Ingress that should contribute DNS records.
Classless and unmapped Ingresses no longer contribute. EXTIPS no longer provides
Kubernetes Ingress addresses: generated hosts become CNAMEs to the selected Service's
address records. Review ignore annotations on Services and bindings as well. See
annotation rules for examples.
During a mixed-version rollout, older pods may still supply address contributions which mask the new aliases. Verify the final CNAME and target address sets after all replicas and peer imports converge. If peer sites publish the same host, coordinate their class mappings so the CNAME target agrees; distinct targets conflict under the existing DNS merge rules.
Roll out
- Test the candidate on separate endpoints before changing production delegation or service routing. Verify UDP and TCP from outside the cluster, through every configured node address, including one without a local DNS pod.
- Roll replicas gradually. Keep old ready pods serving while replacements load valid configuration, complete local synchronization and attempt each peer.
- Confirm fresh local source state, successful peer transfers and expected shared address sets on each replacement. Initial peer failure is allowed by readiness; inspect peer success and cache contents separately.
- Check AA flags, CNAME masking, negative answers, delegation and both address families. Monitor errors, latency, source freshness and external routing.
- Verify persistence of intended UI configuration and management authentication.
An all-pod restart discards imported data until it can be fetched. A rolling update
reduces the overlap of cold caches but does not establish an availability guarantee
during simultaneous source/network failures. Default listener shutdown is bounded by
SHUTDOWN_TIMEOUT=10s; the example DaemonSet grants 30 seconds termination grace. Check
those settings together when adapting the deployment.
Peer compatibility and keys
Current peer wire protocol is v4; configuration schema remains v1. v1/v2/v3 peers cannot perform v4 transfers. Coordinate upgrades across directly connected clusters and expect transfer failures during incompatible overlap. Apply the updated CRDs before rolling out v4; their discovery status schema stores endpoint ordering and seed observation metadata. v4 rejects stale endpoint catalogues rather than allowing a lagging replica to replace current discovery data. Running pods retain prior imported records while retries fail, but a newly started pod cannot recover those records from an incompatible source.
Earlier builds of v4 also imposed a 256-peer/257-site count ceiling. Update every participant before growing beyond that size: those builds reject a larger topology catalogue even though its wire shape is unchanged. Current builds use the existing transfer-byte budget instead of a fixed site count.
The transfer journal is not durable, so full-transfer fallback after a restart is normal. Startup environment changes require pod restart; runtime TSIG Secrets hot-reload without restart. Rotation immediately retires the old key after reload. Remote credential updates are separately owned by operators/automation; no automatic distribution or overlap is supplied. Previously imported records remain retained. See peer administration.
Roll back
Restore the known image and its compatible configuration, Secret and startup settings through the same deployment owner. If configuration schema changes, roll back application and configuration together. Preserve desired record edits made since the backup by reviewing them explicitly before restoration.
Check both sides' peer protocol compatibility, readiness, complete address sets, source freshness and external DNS after rollback. Expect cache warming and full transfers; restored lower source versions can require the deliberate watermark recovery procedure. Public recursive caches can retain previous endpoints or answers until TTLs expire. Record the outcome and resolve the remaining acceptance items in TODO.md only after actual target-environment validation.
Migrating the old ConfigMap runtime
Install all three CRDs and wait for Established before creating CRs or starting the new
DaemonSet. Translate old zone metadata into DNSZone objects and old static records into
independent DNSRecords groups with absolute owners. Set SOA explicitly: CRs default
false, whereas legacy omitted file-zone SOA remains true. Translate peers to PeerSite
objects in the administration namespace and provision remote credentials as individual
Secrets. The old ConfigMap config.json is not a runtime input or automatic migration
source. Keep only queryLogging as settings.
Switch the workload controller from Deployment to DaemonSet under the deployment owner, preserving DNS Service selectors/externalIPs and both transports. Verify that advertised Node ExternalIPs are actually reachable through that Service. Retain old manifests/backups for a deliberate rollback; no remote-record PVC is required. The changed wire protocol means pre-upgrade peers must be coordinated. Real Kubernetes/GitOps/CNI acceptance remains separate from offline tests.
