open-nomad/e2e/nodedrain/input/drain_deadline.nomad

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

36 lines
521 B
Plaintext
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
job "drain_deadline" {
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
migrate {
max_parallel = 1
min_healthy_time = "30s"
}
group "group" {
count = 2
task "task" {
driver = "docker"
config {
image = "busybox:1"
command = "/bin/sh"
args = ["-c", "sleep 600"]
}
resources {
cpu = 256
memory = 64
}
}
}
}