github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/e2e/eval_priority/inputs/thirteen_job_priority.nomad (about) 1 variable "image" { default = "busybox:1" } 2 3 job "networking" { 4 datacenters = ["dc1", "dc2"] 5 priority = 13 6 constraint { 7 attribute = "${attr.kernel.name}" 8 value = "linux" 9 } 10 group "bridged" { 11 task "sleep" { 12 driver = "docker" 13 config { 14 image = var.image 15 command = "/bin/sleep" 16 args = ["300"] 17 } 18 } 19 } 20 }