Skip to content

kraft cloud instance stop

Stop a KraftCloud instance.

kraft cloud instance stop [FLAGS] [UUID|NAME [UUID|NAME]...]

Examples

# Stop a KraftCloud instance by UUID
$ kraft cloud instance stop 77d0316a-fbbe-488d-8618-5bf7a612477a
# Stop a KraftCloud instance by name
$ kraft cloud instance stop my-instance-431342
# Stop multiple KraftCloud instances
$ kraft cloud instance stop my-instance-431342 my-instance-other-2313
# Stop all KraftCloud instances
$ kraft cloud instance stop --all
# Stop a KraftCloud instanace by name and wait for connections to drain for 5s
$ kraft cloud instance stop --wait 5s my-instance-431342

Options

--all Stop all instances
-d, --drain-timeout duration Timeout for the instance to stop (ms/s/m/h)
-f, --force Force stop the instance(s)
-h, --help help for stop
-w, --wait duration Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)

Options inherited from parent commands

--metro string Set the KraftCloud metro
--token string Set the KraftCloud token

Aliases

The kraft cloud instance stop command can also be run as:

st

See Also