Skip to main content

restart

restart a deployment

🚀 Restart a deployment.

Restarting performs a graceful restart with minimal or no downtime, and SphereStor and Spherelet consumption will continue.

Usage​

csph deployments restart [flags]

Options​

Command Specific​

--account <string>
account ID
--no-wait
return immediately instead of waiting for the deployment to be running

--wait-timeout <duration> (default "5m0s")

how long to wait for the deployment to reach Running

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# restart a deployment interactively
> csph deployments restart

# restart a deployment
> csph deployments restart <deployment-id>

See also​