diff --git a/templates/nomad_jobs/influxdb.hcl b/templates/nomad_jobs/influxdb.hcl index 05aa7df..bef74d5 100644 --- a/templates/nomad_jobs/influxdb.hcl +++ b/templates/nomad_jobs/influxdb.hcl @@ -4,9 +4,9 @@ job "influxdb" { type = "service" // constraint { - // attribute = "${node.unique.name}" + // attribute = "${attr.cpu.arch}" // operator = "regexp" - // value = "rpi" + // value = "64" // } update { diff --git a/templates/nomad_jobs/prowlarr.hcl b/templates/nomad_jobs/prowlarr.hcl index 62236e6..42f232b 100644 --- a/templates/nomad_jobs/prowlarr.hcl +++ b/templates/nomad_jobs/prowlarr.hcl @@ -5,9 +5,9 @@ job "prowlarr" { type = "service" // constraint { - // attribute = "${node.unique.name}" + // attribute = "${attr.cpu.arch}" // operator = "regexp" - // value = "rpi4" + // value = "64" // } update { diff --git a/templates/nomad_jobs/radarr.hcl b/templates/nomad_jobs/radarr.hcl index 5f2231e..168004e 100644 --- a/templates/nomad_jobs/radarr.hcl +++ b/templates/nomad_jobs/radarr.hcl @@ -6,7 +6,7 @@ job "radarr" { // constraint { // attribute = "${node.unique.name}" // operator = "regexp" - // value = "rpi" + // value = "rpi3" // } update { diff --git a/templates/nomad_jobs/readarr.hcl b/templates/nomad_jobs/readarr.hcl index 2525c61..5327056 100644 --- a/templates/nomad_jobs/readarr.hcl +++ b/templates/nomad_jobs/readarr.hcl @@ -4,9 +4,9 @@ job "readarr" { type = "service" // constraint { - // attribute = "${node.unique.name}" + // attribute = "${attr.cpu.arch}" // operator = "regexp" - // value = "rpi4" + // value = "64" // } update { diff --git a/templates/nomad_jobs/sonarr.hcl b/templates/nomad_jobs/sonarr.hcl index 94eb496..df50dba 100644 --- a/templates/nomad_jobs/sonarr.hcl +++ b/templates/nomad_jobs/sonarr.hcl @@ -4,9 +4,9 @@ job "sonarr" { type = "service" // constraint { - // attribute = "${node.unique.name}" + // attribute = "${attr.cpu.arch}" // operator = "regexp" - // value = "macmini" + // value = "64" // } update { diff --git a/templates/nomad_jobs/syncthing.hcl b/templates/nomad_jobs/syncthing.hcl index af56864..3c20a9a 100644 --- a/templates/nomad_jobs/syncthing.hcl +++ b/templates/nomad_jobs/syncthing.hcl @@ -9,6 +9,13 @@ job "syncthing" { value = "rpi" } + // constraint { + // attribute = "${attr.cpu.arch}" + // operator = "regexp" + // value = "64" + // } + + update { max_parallel = 1 health_check = "checks" diff --git a/templates/nomad_jobs/whoogle.hcl b/templates/nomad_jobs/whoogle.hcl index 9bab590..31f43f8 100644 --- a/templates/nomad_jobs/whoogle.hcl +++ b/templates/nomad_jobs/whoogle.hcl @@ -4,9 +4,9 @@ job "whoogle" { type = "service" // constraint { - // attribute = "${node.unique.name}" + // attribute = "${attr.cpu.arch}" // operator = "regexp" - // value = "rpi(1|2|3)" + // value = "64" // } update {