open-nomad/e2e/namespaces/input/namespace_default.nomad
2021-01-07 09:15:43 +01:00

28 lines
376 B
HCL

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
}
}
}
}