Epic: Internal network — cluster DNS, BGP routing, ClusterMesh, network policy #1668

Open
opened 2026-11-05 16:59:31 +00:00 by ginjiruu · 1 comment
Owner

Internal network. Depends on lab/machine-configs#7 (PKI, cluster rebuild).

Decisions

  • Internal domain int.animeteamspeak.moe, never published; cluster domains <cluster>.int.animeteamspeak.moe.
  • think advertises pod/service/LB ranges over BGP like mini; LB pool 10.10.5.0/24, resolver VIP 10.10.5.53.
  • PowerDNS (authoritative + recursor) on think, 3 replicas; external-dns PowerDNS provider; public names forwarded to today's upstreams.
  • Two sites: each primary for its own subzone, secondary for the other's.
  • DHCP: VIP + router now; VIP + remote-site resolver later. Plain DNS is the client contract (DHCP, WireGuard DNS =, NetBird nameserver groups).
  • ClusterMesh between clusters (unique cluster names/IDs set at the think rebuild); plain hosts get CIDR policy + mTLS.
  • Mini gets a default-deny for out-of-cluster traffic.
  • Ad blocking via RPZ later.

Children

  • lab/clusters#1671 — Cluster DNS domains .int.animeteamspeak.moe
  • lab/clusters#1672 — think: BGP advertisements, external ClusterIP, LB pool 10.10.5.0/24, resolver VIP 10.10.5.53
  • lab/clusters#1673 — PowerDNS on think: authoritative int zone + recursor, external-dns pdns provider
  • lab/clusters#1674 — Two-site DNS: per-site primary subzones, cross-site secondaries
  • lab/clusters#1675 — WireGuard peers: split tunnel with DNS = internal resolver (NetBird later)
  • lab/clusters#1676 — Host access to services: CIDR policy fence + mTLS client certificates
  • lab/clusters#1677 — mini: default-deny for traffic from outside the cluster
  • lab/clusters#1678 — Later: DNS ad blocking via RPZ in PowerDNS Recursor
  • lab/machine-configs#16 — EdgeOS DNS/DHCP runbook + Taskfile task; bootstrap names in /etc/hosts
  • lab/clusters#1528 — Cilium ClusterMesh (existing issue; portable is now think)

lab/clusters#1533 (site network plan), lab/machine-configs#2 (WireGuard peers).

Internal network. Depends on lab/machine-configs#7 (PKI, cluster rebuild). ## Decisions - Internal domain `int.animeteamspeak.moe`, never published; cluster domains `<cluster>.int.animeteamspeak.moe`. - think advertises pod/service/LB ranges over BGP like mini; LB pool **10.10.5.0/24**, resolver VIP **10.10.5.53**. - **PowerDNS** (authoritative + recursor) on think, 3 replicas; external-dns PowerDNS provider; public names forwarded to today's upstreams. - Two sites: each primary for its own subzone, secondary for the other's. - DHCP: VIP + router now; VIP + remote-site resolver later. Plain DNS is the client contract (DHCP, WireGuard `DNS =`, NetBird nameserver groups). - **ClusterMesh** between clusters (unique cluster names/IDs set at the think rebuild); plain hosts get **CIDR policy + mTLS**. - Mini gets a default-deny for out-of-cluster traffic. - Ad blocking via RPZ later. ## Children - [ ] lab/clusters#1671 — Cluster DNS domains <cluster>.int.animeteamspeak.moe - [ ] lab/clusters#1672 — think: BGP advertisements, external ClusterIP, LB pool 10.10.5.0/24, resolver VIP 10.10.5.53 - [ ] lab/clusters#1673 — PowerDNS on think: authoritative int zone + recursor, external-dns pdns provider - [ ] lab/clusters#1674 — Two-site DNS: per-site primary subzones, cross-site secondaries - [ ] lab/clusters#1675 — WireGuard peers: split tunnel with DNS = internal resolver (NetBird later) - [ ] lab/clusters#1676 — Host access to services: CIDR policy fence + mTLS client certificates - [ ] lab/clusters#1677 — mini: default-deny for traffic from outside the cluster - [ ] lab/clusters#1678 — Later: DNS ad blocking via RPZ in PowerDNS Recursor - [ ] lab/machine-configs#16 — EdgeOS DNS/DHCP runbook + Taskfile task; bootstrap names in /etc/hosts - [ ] lab/clusters#1528 — Cilium ClusterMesh (existing issue; portable is now think) ## Related lab/clusters#1533 (site network plan), lab/machine-configs#2 (WireGuard peers).
Author
Owner

Naming decided 2026-11-11: lab/machine-configs ADR-0005 (docs/adr/0005-internal-dns-naming.md, 84bc2bf). It supersedes the "cluster domains <cluster>.int.animeteamspeak.moe" line above and the names in #1671 / #1673.

What Name
site <site>.int.animeteamspeak.moe, site = lowercased UN/LOCODE: caosh, catny, cagvh, cator
site infra services <svc>.infra.<site>.int... (OpenBao: secrets.infra.caosh.int...)
physical hosts <host>.hosts.<site>.int...
cluster <cluster>.<site>.int..., clusters c<n>, numbered lab-wide, never reused
k8s node names <host>.<cluster>.<site>.int...
cluster services <svc>.<ns>.svc.<cluster>.<site>.int...

Effects on this epic:

  • Four sites, not two (Oshawa, Tiny, Gravenhurst, Toronto). #1674 becomes per-site primaries for <site>.int.
  • think rebuild = c1.caosh, mini = c2.caosh at its rebuild. These are also the unique ClusterMesh names.
  • infra.<site> and hosts.<site> must not depend on a cluster. OpenBao and the cluster bootstrap resolve through them, so a cluster-hosted PowerDNS (#1673) cannot be authoritative for them. They are served at host level (lab/iac#50). The cluster recursors forward those two subzones there and stay authoritative for their own <cluster>.<site> zone.
  • Public names never carry a site code (Let's Encrypt certs land in public CT logs).
Naming decided 2026-11-11: lab/machine-configs ADR-0005 (`docs/adr/0005-internal-dns-naming.md`, 84bc2bf). It supersedes the "cluster domains `<cluster>.int.animeteamspeak.moe`" line above and the names in #1671 / #1673. | What | Name | |---|---| | site | `<site>.int.animeteamspeak.moe`, site = lowercased UN/LOCODE: `caosh`, `catny`, `cagvh`, `cator` | | site infra services | `<svc>.infra.<site>.int...` (OpenBao: `secrets.infra.caosh.int...`) | | physical hosts | `<host>.hosts.<site>.int...` | | cluster | `<cluster>.<site>.int...`, clusters `c<n>`, numbered lab-wide, never reused | | k8s node names | `<host>.<cluster>.<site>.int...` | | cluster services | `<svc>.<ns>.svc.<cluster>.<site>.int...` | Effects on this epic: - **Four sites, not two** (Oshawa, Tiny, Gravenhurst, Toronto). #1674 becomes per-site primaries for `<site>.int`. - **think rebuild = `c1.caosh`**, mini = `c2.caosh` at its rebuild. These are also the unique ClusterMesh names. - **`infra.<site>` and `hosts.<site>` must not depend on a cluster.** OpenBao and the cluster bootstrap resolve through them, so a cluster-hosted PowerDNS (#1673) cannot be authoritative for them. They are served at host level (lab/iac#50). The cluster recursors forward those two subzones there and stay authoritative for their own `<cluster>.<site>` zone. - **Public names never carry a site code** (Let's Encrypt certs land in public CT logs).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1668
No description provided.