open-nomad/e2e/eval_priority/inputs/thirteen_job_priority.nomad

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
445 B
Plaintext
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
variable "image" { default = "busybox:1" }
job "networking" {
datacenters = ["dc1", "dc2"]
priority = 13
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "bridged" {
task "sleep" {
driver = "docker"
config {
image = var.image
command = "/bin/sleep"
args = ["300"]
}
}
}
}