Zudoku
unikraft instances

unikraft instances suspend

Suspend one or more instances.

Code
unikraft instances suspend <target> ... [flags]

Examples

Suspend an instance:

TerminalCode
unikraft instance suspend demo-instance

Suspend with a drain timeout:

TerminalCode
unikraft instance suspend demo-instance --drain-timeout 30000

Options

Code
--drain-timeout DRAIN-TIMEOUT Timeout in milliseconds for draining connections before suspending. (default -1) -f, --field FIELD Specify which fields to include in the output. -o, --output OUTPUT Output format. One of: kv, table, json, yaml, raw, quiet, template.

Options inherited from parent commands

Code
--config file Path to the configuration file. --log-level level Set the logging level. (default info) --log-type type Set the log type. (default text) --profile name Set the current profile. --telemetry Toggle usage analytics. (default true) --timeout duration Set a deadline for the command (e.g. 30s, 5m, 1h).

See Also

Last modified on