homelab-nomad/core/nomad-client-stalker.nomad

32 lines
441 B
Plaintext
Raw Normal View History

2023-03-25 05:22:11 +00:00
job "nomad-client-stalker" {
type = "system"
group "main" {
network {
mode = "host"
port "main" {}
}
service {
name = "nomad-client-stalker"
provider = "nomad"
port = "main"
}
task "main" {
driver = "docker"
config {
image = "busybox"
args = ["tail", "-f", "/dev/null"]
}
resources {
cpu = 10
memory = 10
}
}
}
}