Skip to Content
CLI

CLI overview

Commands, conventions, exit codes and environment variables shared by every argoctl command.

Commands

CommandWhat it does
argoctl site validateParse and check a site file; print a summary, or every problem with its location and fix.
argoctl preflightProve every node's BMC can boot it from Redfish virtual media, then restore the BMC.
argoctl analyseInventory CPUs, memory, GPUs, interconnect and storage, and report which models can be served and how.
argoctl ironic installInstall (or repair) Ironic on mgmt in Docker, with the deploy agent and OS image, and check it's healthy.
argoctl ironic statusShow Ironic's containers, health and the nodes it knows.
argoctl ironic uninstallRemove Ironic's containers, and with --purge its data.
argoctl node-configPrint the per-node network and config-drive settings argoctl generates.
argoctl provisionInstall Ubuntu on every node over virtual media with static IPs, and check SSH.
argoctl create clusterBuild the Kubernetes cluster: host profile, kubeadm, Cilium, GPU Operator, then the checks.
argoctl verify clusterRun the cluster checks only.
argoctl deploy inferenceDeploy (or update) a vLLM model server with Helm and print its endpoint.
argoctl get inferenceList inference deployments, their status and endpoints.
argoctl delete inferenceRemove an inference deployment.
argoctl versionPrint the version, git commit and build target.

argoctl --help and argoctl <command> --help print the same information.

Conventions

The site file comes first

Every command except version and ironic uninstall takes the path of the site file as its first argument:

argoctl <command> <site-file> [flags]

Where to run, and as whom

Run argoctl on mgmt. Commands that touch BMCs, Ironic, the nodes or the cluster need root, because they read mgmt's provisioning SSH key and Ironic's credentials:

CommandRootNeeds the BMC password
site validate, node-config, versionnono
preflight, analyse, provisionyesyes
ironic install, ironic status, ironic uninstallyesno
create cluster, verify cluster, deploy inference, get inference, delete inferenceyesno

sudo drops your environment, so pass the variables a command needs explicitly:

sudo --preserve-env=ARGOCTL_BMC_PASSWORD argoctl provision /etc/argoctl/site.yaml

Output

  • Progress goes to stderr as it happens: one line per step, prefixed with the node or component it's about.
  • The report (a summary line with ✓ or ✗, then tables) goes to stdout.
  • With --json, stdout carries the report as one JSON document instead, so argoctl ... --json > report.json gives clean JSON while progress still shows on the terminal.
  • After a failure, the error is followed by numbered To fix steps, with the commands to run.
  • The last line is always the path of the run's log: Full log: /var/log/argoctl/20261130T101500Z-provision.log.

Idempotent and resumable

Every command that changes something first checks the current state and changes only what differs from the site file. Re-running a successful command reports nothing to change; re-running an interrupted one finishes the job. Ctrl-C stops a run cleanly (and in preflight, restores the BMCs); a second Ctrl-C quits at once.

Exit codes

CodeMeaning
0Success: everything the command was asked to do is done and every check passed.
1Failure: something failed, a check didn't pass, or the run couldn't start. The report says what and how to fix it.
2Usage error: unknown flag, missing argument, invalid value.

Durations

Timeout flags take a number with a unit: 30s, 10m, 1h, 1h30m.

Environment variables

VariableUsed by
ARGOCTL_BMC_PASSWORDpreflight, analyse, provisionThe usual name for the BMC password; the site file's bmc.password_env decides which variable is read.
ARGOCTL_LOG_DIRevery commandWrite run logs to this directory instead of the default. See Run logs.
HF_TOKENdeploy inferenceThe usual name for a Hugging Face token; --hf-token-env decides which variable is read.
NO_COLORevery commandDisable coloured output.

On this page