fix: add cluster consraint to prowalar and tt-rss

This commit is contained in:
vincent 2024-05-20 11:21:45 +02:00
parent d817f3a7f8
commit d1b475d651
2 changed files with 10 additions and 2 deletions

View File

@ -9,7 +9,11 @@ job "torrent_automation" {
attribute = "${attr.cpu.arch}" attribute = "${attr.cpu.arch}"
value = "amd64" value = "amd64"
} }
constraint {
attribute = "${node.class}"
operator = "set_contains"
value = "cluster"
}
group "prowlarr"{ group "prowlarr"{
network { network {
mode = "host" mode = "host"

View File

@ -7,7 +7,11 @@ job "tt-rss" {
attribute = "${attr.cpu.arch}" attribute = "${attr.cpu.arch}"
value = "amd64" value = "amd64"
} }
constraint {
attribute = "${node.class}"
operator = "set_contains"
value = "cluster"
}
group "ttrss" { group "ttrss" {
ephemeral_disk { ephemeral_disk {