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