Skip to main content

Talosctl

@dataverket/talosctlv2026.09.19.2· 1d agoMODELS
01README

Talos Linux machines for swamp, through talosctl, with or without Omni. One model type, @dataverket/talosctl/node, targets one or many nodes: version, services and etcd members, the cluster kubeconfig, apply and patch machine config, bootstrap, reboot, shutdown, reset (whole system disk or only named partitions such as EPHEMERAL), upgrade, and the cluster health check. volumes reads every node's disks, partitions by label, unallocated space on the system disk and how full EPHEMERAL is, in one execution, so a plan for user volumes starts from measured numbers. Forked from @magistr/talos-node (MIT) and typed. For an Omni-managed fleet, @dataverket/omni supplies the node addresses and a minted talosconfig as data; this model takes the config as content (talosconfigContent) and speaks to the machines through Omni's proxy, so a lab cluster on plain talosctl and a managed one share one code path.

02Models1
@dataverket/talosctl/nodev2026.09.19.2node.ts

Global Arguments

ArgumentTypeDescription
endpoint?stringTalos API endpoint (--endpoints); also the default node. Leave unset with an Omni talosconfig
nodes?arrayNode addresses the methods target (--nodes); defaults to [endpoint]
talosconfig?stringPath to a talosconfig; defaults to talosctl's own lookup
talosconfigContent?stringA talosconfig\
insecurebooleanUse --insecure (maintenance mode, no client certificate)
talosctlPathstringPath to the talosctl binary; override when it is not on PATH
serviceAccountKey?stringOmni service-account key for an Omni-issued talosconfig (OMNI_SERVICE_ACCOUNT_KEY); supply via a vault expression
retryDelayMsnumberPause between retries of transient API errors
fn version()
Read the Talos version of every targeted node
fn services()
List every service on every targeted node
fn etcdMembers()
List the etcd cluster members
fn kubeconfig()
Retrieve the cluster kubeconfig
fn volumes()
For every targeted node: disks, partitions (STATE, EPHEMERAL, u-<name>, ...), unallocated bytes on the system disk, and /var usage. One volumeLayout per node, one execution. Read-only.
fn applyConfig(configFile: string, mode: enum, insecure: boolean)
Apply a machine config (insecure=true for maintenance mode)
ArgumentTypeDescription
configFilestringPath to the machine config YAML file
modeenum
insecurebooleanOverride the global insecure flag (maintenance mode)
fn bootstrap()
Bootstrap etcd (run once, against the first control plane)
fn reboot(mode: enum)
Reboot the targeted nodes
ArgumentTypeDescription
modeenum
fn shutdown(force: boolean)
Shut down the targeted nodes
ArgumentTypeDescription
forceboolean
fn reset(graceful: boolean, reboot: boolean, systemLabelsToWipe?: array)
Reset the targeted nodes: wipe the system disk, or only the named partitions
ArgumentTypeDescription
gracefulbooleanCordon, drain and leave etcd first
rebootbooleanReboot after the reset instead of shutting down
systemLabelsToWipe?arrayWipe only these system partitions (e.g. [EPHEMERAL]); keeps STATE and the config
fn upgrade(image: string, preserve: boolean)
Upgrade Talos on the targeted nodes
ArgumentTypeDescription
imagestringInstaller image, e.g. ghcr.io/siderolabs/installer:v1.14.1
preservebooleanPreserve ephemeral data
fn patchConfig(patchFile: string, mode: enum)
Patch the machine config with a YAML patch file
ArgumentTypeDescription
patchFilestringPath to the YAML patch file
modeenum
fn health(waitTimeout: string)
Run the cluster health check
ArgumentTypeDescription
waitTimeoutstringHow long to wait for the check to pass, e.g. 30s, 2m

Resources

version(infinite)— Talos version of one node
service(infinite)— State and health of one Talos service on one node
etcdMember(infinite)— One etcd cluster member
kubeconfig(infinite)— The cluster's admin kubeconfig
volumeLayout(30d)— Disks, partitions by label, unallocated space and EPHEMERAL usage of one node
result(infinite)— Outcome of a lifecycle or config operation
03Previous Versions1
2026.09.19.1
04Stats
A
100 / 100
Downloads
1
Archive size
19.1 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels