GeezerVison is showing github.com — design(cluster): Cozystack bring-up + platform networking (Phase 2) · Issue #14017 · developing-today/code
design(cluster): Cozystack bring-up + platform networking (Phase 2) #14017Labels area/k8sKubernetes manifests and workloadsdesignDesign record / living design doc tracking homeepic/lab-clusterEpic: lab-cluster - all issues of this effort carry it DescriptionCozystack bring-up + platform networking design
Part of the basement cluster programme (#1817), Phase 2 (Cozystack platform, epic #1087). Plan of record: the sequenced cluster plan comment on #1817 (2026-11-24). Execution is gated on Phase 1 (Talos nodes up, #1086); this design is buildable now.
Problem
#1087 asks for Cozystack installed, healthy, and upgradeable — via its talm preset path, with the pin/upgrade policy written down before the first upgrade is needed. The 2026-11-23 CNCF landscape record (PR #13827, networking.md + platform-and-gitops.md) and Drew's settled directions add the networking shape the install must land with, none of which is written down as one design yet:
- Cozystack's default stack is Kube-OVN (pod networking/IPAM) + Cilium chained (policy + kube-proxy replacement; its eBPF policies are the tenant-isolation mechanism) + MetalLB (external load balancing). We adopt the platform's stack as shipped; we do not substitute Cilium's own LB-IPAM/L2 announcements for MetalLB inside Cozystack.
- Ingress is authored as Gateway API resources from day one. ingress-nginx was retired in March 2026 and is never installed anywhere new. The gateway implementation is the platform's own tenant-gateway path on Cilium — this design names exactly what Cozystack exposes at the pinned version (GatewayClass / tenant gateway shape), so the standing question "what API gateway does Cozystack use?" has a written, version-pinned answer.
- MetalLB pools are carved from the LAN/router range outside the DHCP pool, L2 announcement first; BGP only if the router and scale justify it (Drew's MetalLB memory, confirmed in the networking record).
- Hubble is enabled from day one — it pays for the Cilium decision the first time some traffic is a mystery.
What this design must produce
- Install path: Cozystack via the talm preset on the Phase 1 nodes; the version pin rechecked at design time (the v1.6.4 research baseline is stale — the CNCF note saw v1.7 alphas) plus the pin/upgrade policy epic(cluster): Cozystack platform #1087 requires: when we move, how a platform upgrade is rehearsed, what rolls back.
- Platform networking as shipped, written down: the Kube-OVN + Cilium chained + MetalLB roles, the tenant-isolation model, and what we deliberately do NOT reconfigure in v1.
- MetalLB pool plan: carving rules (outside DHCP, reserved, documented per pool) with the actual ranges marked against the LAN addressing facts. Inputs: ops(lab): cluster interconnect — connect the dozen cluster machines + 2–3 mini PCs #6077's IP plan and Hardware inventory + hardware-stats gathering: pick the first 3–5 cluster machines #1810's NIC/switch facts — where those are still open, the design states the rules and the exact facts it is waiting on, never invented ranges.
- Gateway API design: the platform gateway path, the first Gateway + HTTPRoute for platform access (dashboard/API), and the TLS seam with Phase 6's cert-manager wiring (interim step stated if Phase 6 lags).
- Access path: dashboard/API reachability via Cloudflare tunnel + Tailscale, per epic(cluster): Cozystack platform #1087 and the egress design (Egress strategy: 2 Gbps home fiber behind Cloudflare/Turso/Tailscale #1814/design(cluster): egress strategy for 2 Gbps home fiber — budgets, tunnel topology, failure matrix #5030) — no public exposure of the management plane.
- Tenant model v1: one admin tenant; what a tenant-cluster request looks like; quotas left at platform defaults until a real consumer exists.
Scope
Include: the design, plus the config skeletons that belong with it (MetalLB IPAddressPool/L2Advertisement, Gateway/HTTPRoute examples) as design artefacts.
Exclude: executing the install (Phase 2 execution slices are filed from this design once Phase 1 lands); storage wiring (#1813 / Phase 3); the services the platform will run (#1088 / Phase 4); cert-manager + ESO installation (Phase 6 — this design only names the seam).
Dependencies
Acceptance
- Design recorded (on this issue or a linked doc/PR) covering points 1–6, with the gateway question answered in writing at the pinned Cozystack version.
- Version pin + upgrade policy written — satisfies epic(cluster): Cozystack platform #1087's acceptance input before the first upgrade is needed.
- MetalLB carving rules + Gateway examples committed as design artefacts, with open facts named rather than invented.
- Execution slices for Phase 2 filed or linked from epic(cluster): Cozystack platform #1087, gated on Phase 1 completion.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T02:18:26Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-03, 2026-11-24): open; design buildable now, not yet written. No design doc or PR for Cozystack networking found on main (searched PRs and roadmap). Sized as one design item, to route through issue-handoff / design-orchestrate. Execution stays gated on Phase 1 (#1086), as the issue says. Roadmap row planning/roadmaps/basement-cluster.md (#1087) matches. Tracking: #14158. dezren39 commented on Nov 24, 2026 Triage verdict (oc-code-08, queue task 22732, 2026-11-24): #14017 is still open and unresolved in substance. The body is a complete design brief (Cozystack pin/upgrade policy, Kube-OVN + Cilium + MetalLB networking record, MetalLB pool plan, Gateway API path, access path). No design doc or PR implementing it was found in the open-issue scan, so it is not closable with evidence.
Sizing: design-only work, buildable now per the issue (execution waits on Phase 1, #1086). Blocking inputs are #6077 (IP plan) and #1810 (NIC/switch facts); the design must state rules and name those facts rather than invent ranges.
Routing: keep #14017 open as the design item. Its follow-on is a single design-doc PR covering the five "must produce" items, with the Phase 1 and #6077/#1810 gaps recorded as open questions. No new issue is filed here to avoid duplicating the design issue. dezren39 commented on Nov 25, 2026 The design this issue asks for has landed: doc/2026-11-25T01-10-44Z_design_cozystack-platform-networking/ (PR #14695, closes #14215). It covers all five must-produce items. Execution stays gated on Phase 1 (#1086); build slices B1–B4 are listed in §9 of the record, and the open questions in §10 include two for Drew (the apex domain and the interim, zone-scoped Cloudflare DNS token).
Generated by Claude Code developing-today-fleet commented on Nov 26, 2026 Triage verdict (oc-code-01, 2026-11-26): the design deliverable is complete. Fresh verification: PR #14695 is MERGED at f66f1e5 (2026-11-25 01:13Z), and the prior issue note links the resulting Cozystack platform/networking design covering the install/version policy, platform networking, MetalLB, Gateway API, access path, and tenant model. Issue #14017 remains OPEN as the tracker because execution is expressly gated on Phase 1 (#1086); the design records build slices B1–B4 and open inputs rather than pretending execution is done. No duplicate design or follow-on issue created. Resume execution only when #1086 completes. developing-today-fleet commented on Nov 27, 2026 Triage verdict (any-o, queue task 25790, 2026-11-27): #14017 is still open and unresolved in substance, same as the 2026-11-24 and 2026-11-26 verdicts. Fresh verification:
- Design deliverable COMPLETE: PR docs(cluster): Cozystack bring-up and platform networking design (Phase 2) #14695 MERGED (2026-11-25), doc
doc/2026-11-25T01-10-44Z_design_cozystack-platform-networking/ present on origin/main, covering install/pin/upgrade policy, Kube-OVN + Cilium + MetalLB roles, MetalLB carving rules, Gateway API path, access path, tenant model, plus build slices B1-B4 and open questions Q1-Q4.
- Execution still gated: Phase 1 epic(cluster): TALM + Talos bootstrap #1086 is OPEN, epic(cluster): Cozystack platform #1087 is OPEN. Slices B1-B4 are correctly unfiled (filed as children of epic(cluster): Cozystack platform #1087 when dependencies land, per design section 9); Q2/Q3 await Drew.
Routing: keep #14017 open as the design/execution tracker. No small fix to merge, no duplicate issue filed. Resume execution only when #1086 completes.
MetadataMetadataarea/k8sKubernetes manifests and workloadsdesignDesign record / living design doc tracking homeepic/lab-clusterEpic: lab-cluster - all issues of this effort carry it DevelopmentNo branches or pull requestsIssue actions
|