Overview
Node commands perform operations on running Talos nodes, including lifecycle management, upgrades, and maintenance tasks.reboot
Reboot a Talos node.Description
Reboots one or more Talos nodes. The command can wait for the reboot to complete and verify the node comes back online.Flags
Select the reboot modeOptions:
default- Standard reboot with kexecpowercycle- Skip kexec and reboot with power cycleforce- Skip graceful teardown (emergency use only)
-mExample:Wait for the reboot to complete and node to be readyExample:
Timeout to wait for the operationOnly applicable when
--wait is used.Example:Enable debug mode (implies —wait)Example:
Examples
Reboot a single nodeshutdown
Shutdown a Talos node.Description
Shuts down one or more Talos nodes gracefully, cordoning and draining Kubernetes workloads if applicable.Flags
Force a node to shutdown without cordon/drainExample:
Wait for the shutdown to completeExample:
Timeout to wait for the operationExample:
Enable debug mode (implies —wait)
Examples
Shutdown a node gracefullyupgrade
Upgrade Talos on the target node.Description
Upgrades the Talos installation on one or more nodes to a specified version. The upgrade can be staged to apply after a manual reboot.Flags
The container image to use for performing the upgradeDefault: Latest Talos installer imageShort flag:
-iExample:Select the reboot mode during upgradeOptions:
default- Standard rebootpowercycle- Bypass kexec
-mExample:Stage the upgrade to perform it after a rebootShort flag:
-sExample:Force the upgrade (skip checks on etcd health and members)Warning: Might lead to data lossShort flag:
-fExample:Wait for the upgrade to completeExample:
Timeout to wait for the operation
Enable debug mode (implies —wait)
Upgrade using the insecure (encrypted with no auth) maintenance service
Examples
Upgrade to specific versionreset
Reset a Talos node to factory defaults.Description
Resets a node by wiping system disk(s) and optionally rebooting. This operation removes all data and returns the node to a clean state.Flags
Attempt to cordon/drain node and leave etcd (if applicable)Example:
Reboot the node after resetting instead of shutting downExample:
Disk reset modeOptions:
all- Wipe system disk and user diskssystem-disk- Wipe only system diskuser-disks- Wipe only user disks
List of user disk devices to wipeExample:
System disk partitions to wipe by labelWipes only selected partitions but keeps others intact.Example:
Reset using the insecure (encrypted with no auth) maintenance serviceExample:
Wait for the reset to complete
Timeout to wait for the operation
Enable debug mode (implies —wait)
Examples
Reset a node (default behavior)bootstrap
Bootstrap the etcd cluster on the specified node.Description
When a Talos cluster is created, etcd services on control plane nodes enter a join loop waiting for other members. One node should be selected as the bootstrap node to initialize the etcd cluster. Important: This command should not be used when “init” type nodes are configured.Flags
Recover etcd cluster from a snapshot fileExample:
Skip integrity check when recovering etcdUse when recovering from a data directory copy.Example:
Examples
Bootstrap etcd on the first control plane nodeversion
Print version information for client and server.Description
Displays version information for both the talosctl client and the Talos nodes.Flags
Print client version onlyExample:
Print the short versionExample:
Use Talos maintenance mode APIShort flag:
-iExample:Examples
Show all version informationCommon Workflows
Rolling Node Upgrades
Maintenance Mode Recovery
Staged Upgrades
See Also
- CLI Overview - Installation and basic usage
- Cluster Commands - Cluster management
- Config Commands - Configuration management