Talos supports a number of kernel commandline parameters. Some are required for it to operate. Others are optional and useful in certain circumstances.
Several of these are enforced by the Kernel Self Protection Project KSPP.
talos.config: the HTTP(S) URL at which the machine configuration data can be found
talos.platform: can be one of
init_on_alloc=1: required by KSPP
slab_nomerge: required by KSPP
pti=on: required by KSPP
init_on_free=1: advised by KSPP if minimizing stale data lifetime is important
Available Talos-specific parameters
The amount of time to wait after a panic before a reboot is issued.
Talos will always reboot if it encounters an unrecoverable error. However, when collecting debug information, it may reboot too quickly for humans to read the logs. This option allows the user to delay the reboot to give time to collect debug information from the console screen.
A value of
0 disables automtic rebooting entirely.
The URL at which the machine configuration data may be found.
The platform name on which Talos will run.
Valid options are:
The board name, if Talos is being used on an ARM64 SBC.
Supported boards are:
bananapi_m64: Banana Pi M64
libretech_all_h3_cc_h5: Libre Computer ALL-H3-CC
rock64: Pine64 Rock64
rpi_4: Raspberry Pi 4, Model B
The hostname to be used. The hostname is generally specified in the machine config. However, in some cases, the DHCP server needs to know the hostname before the machine configuration has been acquired.
Unless specifically required, the machine configuration should be used instead.
The network interface to use for pre-configuration booting.
If the node has multiple network interfaces, you may specify which interface to use by setting this option.
Keep in mind that Talos uses indexed interface names (eth0, eth1, etc) and not “predictable” interface names (enp2s0) or BIOS-enumerated (eno1) names.
The type of shutdown to use when Talos is told to shutdown.
Valid options are:
A network interface which should be ignored and not configured by Talos.
Before a configuration is applied (early on each boot), Talos attempts to configure each network interface by DHCP. If there are many network interfaces on the machine which have link but no DHCP server, this can add significant boot delays.
This option may be specified multiple times for multiple network interfaces.