Zudoku
kraft cloud instance

kraft cloud instance stop

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

Examples

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

Options

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

Options inherited from parent commands

Code
--metro string Unikraft Cloud metro location --token string Unikraft Cloud access token

Aliases

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

Code
st

See Also

Last modified on