open-nomad/jobspec/test-fixtures/reschedule-job-unlimited.hcl
2019-10-11 14:00:05 +02:00

25 lines
368 B
HCL

job "foo" {
datacenters = ["dc1"]
type = "batch"
reschedule {
delay = "10s"
delay_function = "exponential"
max_delay = "120s"
unlimited = true
}
group "bar" {
count = 3
task "bar" {
driver = "raw_exec"
config {
command = "bash"
args = ["-c", "echo hi"]
}
}
}
}