open-nomad/e2e/nomad09upgrade/docker.nomad

24 lines
314 B
HCL

job "sleep" {
datacenters = ["dc1"]
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "sleep" {
task "sleep" {
driver = "docker"
config {
image = "redis:5.0"
}
resources {
cpu = 100
memory = 32
}
}
}
}