Skip to content

kraft cloud scale initialize

Initialize autoscale configuration for a service group.

kraft cloud scale initialize [FLAGS] NAME|UUID

Examples

# Initialize an autoscale configuration
kraft cloud scale initialize my-service-group \
--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) (default 1s)
-h, --help help for initialize
-i, --master string The UUID or Name of the master instance
-M, --max-size uint The maximum size of the configuration (default 10)
-m, --min-size uint The minimum size of the configuration
-w, --warmup-time duration The warmup time of the config (ms/s/m/h) (default 1s)

Options inherited from parent commands

--metro string Set the KraftCloud metro.

Aliases

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

init, initialise, i

See Also