DOCS / CLI REFERENCE

cluck brood

Configures autoscaling for a service.

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

FlagDescription
--min NMinimum number of hens
--max NMaximum number of hens
--target-cpu PScale 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

0Success. A quiet cluck.
1The command ran but reported a problem, such as a failing check.
2Bad usage: a flag was missing or invalid.
3Authentication or permission error. See HEN-2001.

Common errors

Related commands