Synopsis
cluck brood set <service> [--min N] [--max N]
Description
Configures autoscaling for a service. Brooder keeps extra capacity warm ahead of predicted traffic.
Options
| Flag | Description |
|---|---|
--min N | Minimum number of hens |
--max N | Maximum number of hens |
--target-cpu P | Scale at this CPU percentage |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck brood set web --min 4 --max 40
✔ web scales 4..40 (target 60% CPU)
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |