github.com/hernad/nomad@v1.6.112/e2e/eval_priority/inputs/thirteen_job_priority.nomad (about) 1 # Copyright (c) HashiCorp, Inc. 2 # SPDX-License-Identifier: MPL-2.0 3 4 variable "image" { default = "busybox:1" } 5 6 job "networking" { 7 datacenters = ["dc1", "dc2"] 8 priority = 13 9 constraint { 10 attribute = "${attr.kernel.name}" 11 value = "linux" 12 } 13 group "bridged" { 14 task "sleep" { 15 driver = "docker" 16 config { 17 image = var.image 18 command = "/bin/sleep" 19 args = ["300"] 20 } 21 } 22 } 23 }