Skip to content

gpustack reload-config

Reload runtime-safe configuration values.

gpustack reload-config [OPTIONS]

Configurations

Flag
Default
Description
--set value (empty) Set a single whitelisted field using key=value (keys in hyphen-case). Values are coerced by field type: booleans accept true/false, 1/0, yes/no, y/n, on/off; lists accept comma-separated strings; dicts require JSON strings. Multiple --set flags are allowed; later ones override earlier ones and override --file values.
--file value (empty) Load configuration from a YAML file. Only whitelisted fields are applied. Keys are normalized to snake_case. Values provided via --set override those from the file.
--list False Show whitelisted fields and values. When present, other options are ignored.
--api-key value (empty) When force-auth-localhost is enabled, provide an API key for server-side authentication as an admin user.
--server-port value 8080 Target port of the GPUStack API server for applying or listing runtime config. When omitted, defaults to GPUSTACK_API_PORT if set, otherwise 8080.
--worker-port value 10150 Target port of the GPUStack worker for applying or listing runtime config. When omitted, defaults to GPUSTACK_WORKER_PORT if set, otherwise 10150.