forked from Deuxfleurs/nixcfg
Rebalance ressource attribution on staging
This commit is contained in:
parent
2592dcaa2d
commit
afc368421d
2 changed files with 8 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue