Keys
| Key | Type | Default | Description |
|---|---|---|---|
strategy | string | rolling | rolling, canary, or blue-green |
canary_percent | integer | 10 | Initial traffic share for canary deploys |
health_check_path | string | /healthz | Path polled to decide whether a hen is healthy |
max_unavailable | integer | 1 | Hens allowed to be offline during a rollout |
timeout | duration | 10m | Abort a rollout if it takes longer than this |
Example
deploy:
strategy: rolling
canary_percent: 10
health_check_path: /healthz
max_unavailable: 1
timeout: 10m
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.