github.com/bigcommerce/nomad@v0.9.3-bc/e2e/rescheduling/input/rescheduling_maxp_autorevert.hcl (about) 1 job "demo3" { 2 datacenters = ["dc1"] 3 type = "service" 4 5 group "t2" { 6 count = 3 7 8 task "t2" { 9 driver = "raw_exec" 10 11 config { 12 command = "bash" 13 args = ["-c", "sleep 15000"] 14 } 15 } 16 17 update { 18 max_parallel = 1 19 min_healthy_time = "1s" 20 auto_revert = true 21 healthy_deadline = "2s" 22 progress_deadline = "3s" 23 } 24 25 restart { 26 attempts = 0 27 mode = "fail" 28 } 29 30 reschedule { 31 unlimited = "true" 32 33 # attempts = 0 34 } 35 } 36 }