# 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
  -M, --max-size int             The maximum size of the configuration (default 10)
  -m, --min-size string          The minimum size of the configuration
  -t, --template string          The UUID or Name of the instance template
  -w, --warmup-time duration     The warmup time of the config (ms/s/m/h)
```

## Options inherited from parent commands

```
      --allow-insecure   Allow insecure connections to the Unikraft Cloud API
      --metro string     Unikraft Cloud metro location
      --token string     Unikraft Cloud access token
```

## See Also

* [`kraft cloud scale`](/docs/cli/kraft/cloud/scale): Manage instance autoscale policies

