open-nomad/e2e/isolation/input/alloc_exec.nomad
2023-04-10 15:36:59 +00:00

29 lines
438 B
HCL

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
job "alloc_exec" {
datacenters = ["dc1"]
type = "service"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "main" {
task "main" {
driver = "exec"
config {
command = "/bin/sleep"
args = ["30s"]
}
resources {
cpu = 100
memory = 64
}
}
}
}