Skip to content

Environment variables

The standard Talos variable selects one configuration file:

Terminal window
export TALOSCONFIG="$HOME/.talos/config"

Explicit --talosconfig arguments take part in file selection according to the CLI invocation.

The t9s-specific variable selects multiple files as an operating-system path list:

Terminal window
export TALOSCONFIGS="$HOME/.talos/mgmt:$HOME/.talos/stage:$HOME/.talos/test"

Use : as the separator on Unix and ; on Windows. Repeated --talosconfig flags provide the equivalent explicit form. Duplicate context names are rejected.

Enables gated node reboot, shutdown, rollback, and Talos upgrade from :nodes (equivalent to passing --enable-writes), plus service actions. Read-only by default:

Terminal window
export T9S_ENABLE_WRITES=true

Parsed as a standard boolean string (1, t, T, TRUE, true, True enable; 0, f, F, FALSE, false, False and any unset or unparseable value leave writes disabled). See Security for what the write path allows.