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

30 lines
398 B
Plaintext
Raw Normal View History

2021-01-07 08:15:43 +00:00
job "namespace_b" {
namespace = "NamespaceB"
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
}
}
}
}