run a bunch of things on new Origan node

This commit is contained in:
Alex 2022-12-11 23:02:14 +01:00
parent 578075a925
commit dca2e53442
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
6 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
job "core-service" { job "core-service" {
datacenters = ["neptune"] datacenters = ["neptune", "jupiter"]
type = "service" type = "service"
priority = 90 priority = 90
@ -11,7 +11,7 @@ job "core-service" {
config { config {
packages = [ packages = [
"git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=b26d4d7bbad7c77f466a00f0bd21e7e4ea09c3b1" "git+https://git.deuxfleurs.fr/lx/D53.git?ref=main&rev=5731ad022b62564d1364cb1928d261dac04f8914"
] ]
command = "d53" command = "d53"
} }

View file

@ -91,7 +91,7 @@ EOH
user = "root" user = "root"
resources { resources {
cpu = 2000 cpu = 1000
memory = 200 memory = 200
} }

View file

@ -1,5 +1,5 @@
job "directory" { job "directory" {
datacenters = ["dc1", "neptune"] datacenters = ["neptune", "jupiter"]
type = "service" type = "service"
priority = 90 priority = 90

View file

@ -2,7 +2,7 @@ job "garage-staging" {
type = "system" type = "system"
priority = 90 priority = 90
datacenters = [ "neptune" ] datacenters = [ "neptune", "jupiter" ]
update { update {
max_parallel = 1 max_parallel = 1

View file

@ -1,5 +1,5 @@
job "telemetry-system" { job "telemetry-system" {
datacenters = ["neptune"] datacenters = ["neptune", "jupiter"]
type = "system" type = "system"
priority = "100" priority = "100"

View file

@ -1,5 +1,5 @@
job "telemetry" { job "telemetry" {
datacenters = ["neptune"] datacenters = ["neptune", "jupiter"]
type = "service" type = "service"
group "prometheus" { group "prometheus" {
@ -14,7 +14,7 @@ job "telemetry" {
constraint { constraint {
attribute = "${attr.unique.hostname}" attribute = "${attr.unique.hostname}"
operator = "set_contains_any" operator = "set_contains_any"
value = "cariacou,carcajou" value = "cariacou,origan"
} }
task "prometheus" { task "prometheus" {