github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/isolation/input/alloc_exec.nomad (about) 1 job "alloc_exec" { 2 datacenters = ["dc1"] 3 type = "service" 4 5 constraint { 6 attribute = "${attr.kernel.name}" 7 value = "linux" 8 } 9 10 group "main" { 11 task "main" { 12 driver = "exec" 13 14 config { 15 command = "/bin/sleep" 16 args = ["30s"] 17 } 18 19 resources { 20 cpu = 100 21 memory = 64 22 } 23 } 24 } 25 }