dns (Add): c1 internal DNS stack (one change) #1744

Merged
ginjiruu merged 1 commit from c1-dns into main 2026-11-19 04:31:02 +00:00
Owner

Refs #1673. Supersedes #1742 and #1743. The whole c1 internal DNS stack as one change, so it rolls out from a single commit (logbook: lab/releasectl LOGBOOK.md, 2026-11-19).

Rollout order (Flux dependsOn + health, no human sequencing)

  1. external-secrets-store gains the base64-password ClusterGenerator.

  2. dns-secrets: PowerDNS API key generated once, PushSecret IfNotExists / deletionPolicy: None to infra/apps/c1/generated/dns/pdns-api, read back.

  3. dns-auth:

    • hidden primary: Auth 5.1.5 LMDB on linstor-csi-2r, the operator in the same pod;
    • two catalog-fed secondaries;
    • the zones, all EPOCH.

    Zones live in the same Kustomization: a secondary is Ready only once it holds a zone, so a separate zones Kustomization waiting on dns-auth would deadlock a fresh install. That deadlock was caught walking the fresh-install order of this PR.

  4. dns-resolver: Recursor 5.4.9 ×3 on the thinks, pinned 10.30.100.53 / fdd5:c8ef:2fa0:100::53, externalTrafficPolicy: Local (only nodes with a ready recursor announce it; real client IPs), DNSSEC validation, negative trust anchors for the internal zones, c1.caosh.int forwarded to CoreDNS.

  5. dns-external-dns: external-dns 0.23 (chart 1.23.0), owner c1, sources Service/DNSEndpoint/HTTPRoute, policy: sync.

  6. dns-records: ns1.int → 10.30.100.11, resolver.caosh.int → 10.30.100.53, A/AAAA plus PTRs in both reverse zones.

Outside dependency: lab/iac#161 (PR #162, the OpenBao write grant). It converges in either order: until it exists the PushSecret is refused and retried, and everything after dns-secrets waits.

Not yet used by clients: the lab/iac DHCP switch, which gates itself on the recursor answering, follows separately.

Addresses

What Address
Primary ClusterIP 10.30.192.53
Secondaries (in-cluster) ClusterIP 10.30.192.54
Secondaries (ns1) LB 10.30.100.11
NOTIFY targets 10.30.192.55 / .56
Recursor LB 10.30.100.53

Checked

  • Server-side dry-run on c1 for every namespaced object (rewritten into default, since dns doesn't exist yet) plus the CRDs and ClusterRole.
  • task release:check CLUSTER=c1 CONTEXT=c1: 28 Flux Kustomizations, every dependsOn resolves, no FAIL rule, transition render OK.
  • Design and failure behaviour: harness sim, #1673 "Sim results".
Refs #1673. **Supersedes #1742 and #1743.** The whole c1 internal DNS stack as one change, so it rolls out from a single commit (logbook: lab/releasectl LOGBOOK.md, 2026-11-19). ### Rollout order (Flux `dependsOn` + health, no human sequencing) 1. `external-secrets-store` gains the `base64-password` ClusterGenerator. 2. `dns-secrets`: PowerDNS API key generated once, PushSecret `IfNotExists` / `deletionPolicy: None` to `infra/apps/c1/generated/dns/pdns-api`, read back. 3. `dns-auth`: - hidden primary: Auth 5.1.5 LMDB on `linstor-csi-2r`, the operator in the same pod; - two catalog-fed secondaries; - the zones, all EPOCH. Zones live in the **same** Kustomization: a secondary is Ready only once it holds a zone, so a separate zones Kustomization waiting on `dns-auth` would deadlock a fresh install. That deadlock was caught walking the fresh-install order of this PR. 4. `dns-resolver`: Recursor 5.4.9 ×3 on the thinks, pinned `10.30.100.53` / `fdd5:c8ef:2fa0:100::53`, `externalTrafficPolicy: Local` (only nodes with a ready recursor announce it; real client IPs), DNSSEC validation, negative trust anchors for the internal zones, `c1.caosh.int` forwarded to CoreDNS. 5. `dns-external-dns`: external-dns 0.23 (chart 1.23.0), owner `c1`, sources Service/DNSEndpoint/HTTPRoute, `policy: sync`. 6. `dns-records`: `ns1.int` → `10.30.100.11`, `resolver.caosh.int` → `10.30.100.53`, A/AAAA plus PTRs in both reverse zones. **Outside dependency:** lab/iac#161 (PR #162, the OpenBao write grant). It converges in either order: until it exists the PushSecret is refused and retried, and everything after `dns-secrets` waits. **Not yet used by clients:** the lab/iac DHCP switch, which gates itself on the recursor answering, follows separately. ### Addresses | What | Address | |---|---| | Primary | ClusterIP `10.30.192.53` | | Secondaries (in-cluster) | ClusterIP `10.30.192.54` | | Secondaries (`ns1`) | LB `10.30.100.11` | | NOTIFY targets | `10.30.192.55` / `.56` | | Recursor | LB `10.30.100.53` | ### Checked - Server-side dry-run on c1 for every namespaced object (rewritten into `default`, since `dns` doesn't exist yet) plus the CRDs and ClusterRole. - `task release:check CLUSTER=c1 CONTEXT=c1`: 28 Flux Kustomizations, every dependsOn resolves, no FAIL rule, transition render OK. - Design and failure behaviour: harness sim, #1673 "Sim results".
ClusterGenerator, generated API key (OpenBao source of truth), PowerDNS
Auth 5.1.5 hidden primary with the operator in its pod plus catalog-fed
secondaries and EPOCH zones (one Kustomization: separate zones would
deadlock a fresh install), Recursor 5.4.9 on pinned 10.30.100.53,
external-dns 0.23 and hand-written records. Flux orders the rollout from
this single commit. Supersedes #1742 and #1743; design from the harness
sim in lab/clusters#1673.
Sign in to join this conversation.
No description provided.