github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/e2e/rescheduling/input/norescheduling.nomad (about) 1 job "test1" { 2 3 datacenters = ["dc1", "dc2"] 4 5 constraint { 6 attribute = "${attr.kernel.name}" 7 value = "linux" 8 } 9 10 type = "service" 11 12 group "t1" { 13 count = 3 14 15 task "t1" { 16 driver = "raw_exec" 17 18 config { 19 command = "bash" 20 args = ["-c", "lol 5000"] 21 } 22 } 23 24 update { 25 max_parallel = 1 26 min_healthy_time = "10s" 27 auto_revert = false 28 } 29 30 restart { 31 attempts = 0 32 delay = "0s" 33 mode = "fail" 34 } 35 36 reschedule { 37 attempts = 0 38 interval = "5m" 39 unlimited = false 40 } 41 } 42 }