Rebalance ressource attribution on staging

This commit is contained in:
Alex 2022-10-18 10:40:59 +02:00
parent 2592dcaa2d
commit afc368421d
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 8 additions and 2 deletions

View file

@ -20,6 +20,12 @@ job "im" {
delay = "30s" delay = "30s"
} }
constraint {
attribute = "${attr.unique.hostname}"
operator = "!="
value = "caribou"
}
task "restore-db" { task "restore-db" {
lifecycle { lifecycle {
hook = "prestart" hook = "prestart"

View file

@ -147,7 +147,7 @@ job "telemetry" {
resources { resources {
memory = 300 memory = 300
cpu = 300 cpu = 800
} }
service { service {
@ -224,7 +224,7 @@ job "telemetry" {
} }
resources { resources {
memory = 2000 memory = 2000
cpu = 300 cpu = 1000
} }
template { template {