Adding sample update job.
This commit is contained in:
parent
2df6672acc
commit
d06530d0ca
1 changed files with 28 additions and 0 deletions
28
test/update_hello_world.yaml
Normal file
28
test/update_hello_world.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
jobConfig:
|
||||||
|
environment: "prod"
|
||||||
|
role: "vagrant"
|
||||||
|
name: "hello_world"
|
||||||
|
cpu: 0.09
|
||||||
|
ram: 64
|
||||||
|
disk: 128
|
||||||
|
instances: 1
|
||||||
|
maxFailures: 1
|
||||||
|
thermos:
|
||||||
|
- name: "bootstrap"
|
||||||
|
cmd: "echo bootstrapping"
|
||||||
|
- name: "hello_gorealis"
|
||||||
|
cmd: "while true; do echo hello world from gorealis; sleep 10; done"
|
||||||
|
updateSettings:
|
||||||
|
maxPerInstanceFailures: 1
|
||||||
|
maxFailedInstances: 1
|
||||||
|
minTimeInRunning: 1m
|
||||||
|
rollbackOnFailure: true
|
||||||
|
instanceRanges:
|
||||||
|
- first: 1
|
||||||
|
last: 4
|
||||||
|
pulseTimeout: 1m
|
||||||
|
strategy:
|
||||||
|
batch:
|
||||||
|
groupSize: 2
|
||||||
|
autoPause: false
|
Loading…
Add table
Add a link
Reference in a new issue