Skip to content

kraft cloud scale add

Add an autoscale configuration policy for a service group.

kraft cloud scale add [FLAGS] UUID|NAME

Examples

# Add an autoscale configuration policy by service group UUID
$ kraft cloud scale add fd1684ea-7970-4994-92d6-61dcc7905f2b --name my-policy --step 0:10/1
# Add an autoscale configuration policy by service group name
$ kraft cloud scale add my-service-group --name my-policy --step 0:10/1 --step 10:20/2

Options

-a, --adjustment string The adjustment of the policy. Valid options: 'percent', 'absolute', 'change' (default "change")
-h, --help help for add
-m, --metric string The metric of the policy. Valid options: 'cpu' (default "cpu")
-n, --name string The name of the policy
-s, --step strings The step of the policy in the format 'LOWER_BOUND:UPPER_BOUND/ADJUSTMENT'

Options inherited from parent commands

--metro string Set the KraftCloud metro.

Aliases

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

a

See Also