open-nomad/e2e/rescheduling/input/rescheduling_default.hcl

24 lines
318 B
HCL
Raw Normal View History

job "test" {
datacenters = ["dc1"]
2018-03-29 16:35:45 +00:00
type = "service"
group "t" {
count = 3
2018-03-29 16:35:45 +00:00
task "t" {
driver = "raw_exec"
2018-03-29 16:35:45 +00:00
config {
command = "bash"
args = ["-c", "lol 5000"]
}
}
2018-03-29 16:35:45 +00:00
restart {
attempts = 0
delay = "0s"
mode = "fail"
}
}
2018-03-29 16:35:45 +00:00
}