Skip to content

docs(infra/cluster): TALM/Talos per-node disk config answer + runbook (#1812) - #5052

Merged
dezren39 merged 1 commit into
mainfrom
queue/8148-1812-talm-disk-runbook
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/8148-1812-talm-disk-runbook

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

For #1812 (child of epic #1086). Docs-only; bare-metal proof stays gated on #1810 and is out of scope, so this PR deliberately does not close #1812 — it completes the docs bullets and leaves the issue ready for its remaining bare-metal bullet.

What lands

  • infra/cluster/README.md — the worked answer + runbook:
    • Mechanism: one TALM node file per node in git; talm template -i harvests hardware (disks as comments: serial/wwid/model/size/transport); everything below the modeline is a strategic merge patch over the shared cluster template; a non-empty body pins the file to exactly one node.
    • Disk matching: boot disk via machine.install.diskSelector on serial/wwid (never size/model alone); data volumes via UserVolumeConfig CEL selectors with the !system_disk guard; machine.disks[] deprecated in v1.10; selectors evaluate at install/provisioning time only.
    • Boot-disk layout: frozen read-only Talos image on the boot NVMe, rest of the drive as log/wear headroom; the drive's identity in the node file is the only per-node fact.
    • Where configs live: infra/cluster/<cluster>/ in this repo (PR review, next to the roadmap; a separate cluster-config repo would be Drew's call).
    • Runbook: adding a node; replacing a disk (boot-disk swap with a different model/size = edit selector to the new serial → dry-run → rebuild); wiping/rebuilding a node from config only.
    • Local container-flow proof notes: the command sequence and the observations recorded for it (Drew's local container runs + the design verification in triage task 7746 on TALM bootstrap: declarative per-node disk config for non-identical drives #1812), with an explicit list of what the local flow does not prove.
  • infra/cluster/examples/node-file.yaml and examples/user-volume.yaml — worked examples.

Verification

  • Both YAML examples parse (yaml.safe_load_all); the laptop copies are md5-identical to the parsed copies.
  • Content is transcribed from the verified triage record on TALM bootstrap: declarative per-node disk config for non-identical drives #1812 (task 7746, verified against current TALM/Talos docs); sources are cited at the end of the doc.
  • Docs-only change: no code, no mkdocs site config in this repo touches infra/ (checked — no root mkdocs.yml).

Queue: task 8148 (repo-health-code-pilot), lane code-o.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 17:49
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T17:49:49.752823Z
We couldn’t complete this review. Comment @codex review to try again.
fc2c19e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 18 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed5a27a3-cb08-4961-bc87-43c32d8e4e25
Commits

Reviewing files that changed from the base of the PR and between e9eeddc and fc2c19e.

Files selected for processing: 3
  • infra/cluster/README.md
  • infra/cluster/examples/node-file.yaml
  • infra/cluster/examples/user-volume.yaml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TALM bootstrap: declarative per-node disk config for non-identical drives

1 participant