DOCS / CONFIGURATION

scaling settings

Autoscaling behavior powered by Brooder.

Keys

KeyTypeDefaultDescription
mininteger2Minimum number of hens
maxinteger20Maximum number of hens
target_cpuinteger60CPU percentage that triggers scaling
predictivebooleantrueWarm capacity ahead of forecast traffic
cooldownduration5mWait 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.