open-nomad/e2e/nomad09upgrade/exec.nomad

25 lines
338 B
Plaintext
Raw Normal View History

job "sleep" {
datacenters = ["dc1"]
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "sleep" {
task "sleep" {
driver = "exec"
config {
command = "sleep"
2019-10-11 12:00:05 +00:00
args = ["10000"]
}
resources {
cpu = 100
memory = 32
}
}
}
}