talosctl
$ talosctl Official High Risktalosctl administers Talos Linux nodes via an authenticated mTLS gRPC API instead of SSH. It supports -o json on talosctl get, explicit -n/-e node targeting, and --dry-run previews for apply-config and upgrade-k8s.
brew install talosctl Direct talosctl commands with -o json and --dry-run cover the full Talos gRPC API with zero MCP schema overhead.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -o json on talosctl get, explicit -n/-e node flags, and --dry-run on apply-config and upgrade-k8s, though streaming commands like dashboard are interactive.
- Supports
-o json(--output json) on COSI resource queries - Supports
--dry-runonapply-configandupgrade-k8s
mTLS authentication via --talosconfig plus --dry-run previews provide solid guardrails, though OS-level reset and upgrade carry high node blast radius.
- mTLS client certificate authentication in
~/.talos/config --dry-runpreview before applying machine configs
Single static Go binary available via Homebrew and GitHub Releases for macOS, Linux, and Windows.
- Cross-platform static binary with
brew install talosctl
Replaces brittle SSH scripts with deterministic gRPC calls for cluster bootstrap, certs, logs, and upgrades.
- Full node lifecycle over gRPC without SSH
First-party official CLI (siderolabs/talos) actively maintained under MPL-2.0.
- Official
siderolabs/talosrepository
Detailed reference docs at talos.dev and structured Cobra --help trees.
- Versioned CLI reference documentation
Security, Auth & Guardrails
Stores mTLS client certificates and endpoint/node context in ~/.talos/config (or --talosconfig / TALOSCONFIG).
CLI is MPL-2.0 open-source and free; node operations affect underlying cloud/bare-metal hosts.
# talosctl Agent Rules - Always pass `-n <node-ip>` and `--talosconfig` explicitly instead of relying on defaults. - Run `talosctl apply-config --dry-run` and `talosctl upgrade-k8s --dry-run` before mutating nodes. - Never run `talosctl reset`, `talosctl wipe`, or `talosctl bootstrap` without explicit human confirmation.
Agent-Ready Command Recipes
Safe Read-Only Queries
talosctl health -n 10.0.0.10 --wait-timeout 30s
Checks etcd, kubelet, and control-plane readiness on target nodes without mutating state.
talosctl get members -n 10.0.0.10 -o json
Returns structured JSON cluster membership records suitable for jq filtering.
Controlled Writes & Previews
talosctl apply-config -n 10.0.0.10 --file worker.yaml --dry-run
Validates the new machine config against the node API and previews changes without applying.
Strengths for Agents
- + Deterministic gRPC API with
-o jsonoutput ontalosctl get. - +
--dry-runvalidatesapply-configandupgrade-k8sbefore node mutation. - + Zero SSH surface; mTLS credentials are isolated in
~/.talos/config.
Caveats & Pitfalls
- !
talosctl dashboardis a full-screen TUI that hangs non-TTY agent shells. - ! Node-level operations (
reset,reboot,upgrade) can take down control-plane quorum if mistargeted.