Skip to content

design(cluster): cluster-config home + TALM bootstrap skeleton (Phase 1 head) #14016

Todo

Description

@dezren39

Cluster-config home + TALM bootstrap skeleton

Part of the basement cluster programme (#1817), Phase 1 (Talos bootstrap, epic #1086). Plan of record: the sequenced cluster plan comment on #1817 (2026-11-24).

Problem

#1812 (closed) answered Drew's design question — how heterogeneous per-node drives are declared in Talos/TALM config — and proved the harvest flow at container/local level. It left one question open, verbatim: "Where do the harvested per-node configs live — this repo, or a dedicated cluster-config repo?" Until that is answered and a skeleton exists, the first bare-metal boot (epic #1086, gated on #1810's node shortlist) starts from invention instead of committed config — against the programme's hard rule that everything is bootstrappable from config in git, with no hand-built state.

What this design must produce

  1. The config-home decision, recorded with reasoning. Options: (a) this repo (developing-today/code) in a dedicated cluster path; (b) a dedicated cluster-config repo; (c) the goal workspace. Weigh: the programme's home and roadmap already live here (planning/roadmaps/basement-cluster.md); TALM's own layout expectations; the secrets constraint in point 3; how the fleet's other configuration is laid out. A recommendation is expected; the decision is recorded on this issue, and TALM bootstrap: declarative per-node disk config for non-identical drives #1812's open question is answered where it was asked (a comment there linking here).
  2. The skeleton, committed. TALM project layout for the first 3–5 nodes: chart/templates, a node template parameterised by the drive classes the inventory actually found (Samsung 990 Pro boot/fast tier, 980 / smaller-990 mid tier, 16 TB helium HDDs — per Hardware inventory + hardware-stats gathering: pick the first 3–5 cluster machines #1810/Storage pools: RAID10 HDD tier for RustFS + striped/mirrored NVMe tiers with LINSTOR/DRBD #1813), a values structure for per-node harvest results, and the version pins rechecked at design time (the 2026-10-03 research baseline — talm v0.35.0, Talos v1.14.1, Cozystack v1.6.4 — is stale; epic(cluster): TALM + Talos bootstrap #1086/epic(cluster): Cozystack platform #1087 both say recheck at build time).
  3. The secrets shape for cluster config. Talos cluster PKI and TALM-generated secrets are sensitive material. Per the secrets-stack record (PR Secrets stack analysis — attestation, SOPS scope, cluster overlap map (report record) #13992): Tier A material (CA keys, anything needing revocation/audit) never enters git in any form; Tier B config-shaped material may live as SOPS ciphertext in the public repo under discipline (one file per recipient set, per-host age keys). The design states which class the Talos/TALM generated secrets fall into and the mechanism (e.g. a SOPS-encrypted secrets file vs a broker fetch at apply time), composing with design: secrets plane — delta refresh, broker peer sync, dual-store puts #13948 — it does not invent a third path.
  4. A dry-run proof. The skeleton renders: talm template (or the equivalent render/validate step) succeeds for a representative node of each drive class, in CI or on the laptop, with no real hardware touched.

Scope

Include: the decision, the skeleton, the render proof, and a first-boot runbook stub (apply order, what #1810 must hand over, what hands off to #1087).
Exclude: touching real machines (that is #1086's hybrid execution, gated on #1810 + #1083 power + #6077 interconnect); storage pool layout (#1813 owns it — the skeleton parameterises drive classes, it does not design pools); Cozystack install design (the Phase 2 design child under #1087 owns it).

Dependencies

Acceptance

Risks

  • TALM/Talos version drift between design and first boot — mitigated by the pin recheck now and epic(cluster): TALM + Talos bootstrap #1086's recheck at build time.
  • The config-home choice interacts with public-repo secrets discipline — the design must not trade Tier A safety for skeleton convenience.
{
  "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:18Z",
    "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)"
  }
}

Activity

  1. added
    area/k8s
    design
    epic/lab-cluster
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/k8sdesignepic/lab-cluster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions