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

33 lines
465 B
Plaintext
Raw Permalink 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
2024-03-26 16:48:31 +00:00
memory = 15
memory_max = 30
2023-03-25 05:22:11 +00:00
}
}
}
}