open-nomad/e2e/namespaces/input/namespace_default.nomad

28 lines
376 B
Plaintext
Raw Normal View History

2021-01-07 08:15:43 +00:00
job "namespace_default" {
datacenters = ["dc1", "dc2"]
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "group" {
task "task" {
driver = "raw_exec"
config {
command = "/bin/sh"
args = ["-c", "sleep 300"]
}
resources {
cpu = 256
memory = 128
}
}
}
}