Skip to content

kraft cloud scale init

kraft cloud scale init [FLAGS] NAME|UUID

Examples

# Initialize an autoscale configuration
$ kraft cloud scale init my-service \
--master my-instance-name \
--min-size 1 \
--max-size 10 \
--cooldown-time 1s \
--warmup-time 1s

Options

-c, --cooldown-time duration The cooldown time of the config (ms/s/m/h)
-h, --help help for init
-i, --master string The UUID or Name of the master instance
-M, --max-size int The maximum size of the configuration (default 10)
-m, --min-size string The minimum size of the configuration
-w, --warmup-time duration The warmup time of the config (ms/s/m/h)

Options inherited from parent commands

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

Aliases

The kraft cloud scale init command can also be run as:

init, initialise, initialize, i

See Also