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