Keys
| Key | Type | Default | Description |
|---|---|---|---|
min | integer | 2 | Minimum number of hens |
max | integer | 20 | Maximum number of hens |
target_cpu | integer | 60 | CPU percentage that triggers scaling |
predictive | boolean | true | Warm capacity ahead of forecast traffic |
cooldown | duration | 5m | Wait time between scaling actions |
Example
scaling:
min: 2
max: 20
target_cpu: 60
predictive: true
cooldown: 5m
Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.
NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.