open-nomad/e2e/isolation/input/alloc_exec.nomad

26 lines
370 B
Plaintext
Raw Normal View History

2021-01-26 19:42:23 +00:00
job "alloc_exec" {
datacenters = ["dc1"]
type = "service"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "main" {
task "main" {
driver = "exec"
config {
command = "/bin/sleep"
2021-01-27 14:44:07 +00:00
args = ["30s"]
2021-01-26 19:42:23 +00:00
}
resources {
cpu = 100
memory = 64
}
}
}
}