Skip to content

Talos configuration

t9s uses the Talos client configuration format. Treat every talosconfig as a sensitive credential.

Use the standard TALOSCONFIG variable:

Terminal window
export TALOSCONFIG="$HOME/.talos/config"
go run ./cmd/t9s --context mgmt

Or select the file explicitly:

Terminal window
go run ./cmd/t9s --talosconfig "$HOME/.talos/mgmt" --context mgmt

Repeat --talosconfig:

Terminal window
go run ./cmd/t9s \
--talosconfig "$HOME/.talos/mgmt" \
--talosconfig "$HOME/.talos/stage" \
--talosconfig "$HOME/.talos/test"

Alternatively, set the t9s-specific TALOSCONFIGS path list. Use : on Unix and ; on Windows.

Terminal window
export TALOSCONFIGS="$HOME/.talos/mgmt:$HOME/.talos/stage:$HOME/.talos/test"
go run ./cmd/t9s

t9s merges contexts in memory and rejects duplicate context names. TALOSCONFIG retains its standard singular behavior.