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"
|
||||
}
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.unique.hostname}"
|
||||
operator = "!="
|
||||
value = "caribou"
|
||||
}
|
||||
|
||||
task "restore-db" {
|
||||
lifecycle {
|
||||
hook = "prestart"
|
||||
|
|
|
@ -147,7 +147,7 @@ job "telemetry" {
|
|||
|
||||
resources {
|
||||
memory = 300
|
||||
cpu = 300
|
||||
cpu = 800
|
||||
}
|
||||
|
||||
service {
|
||||
|
@ -224,7 +224,7 @@ job "telemetry" {
|
|||
}
|
||||
resources {
|
||||
memory = 2000
|
||||
cpu = 300
|
||||
cpu = 1000
|
||||
}
|
||||
|
||||
template {
|
||||
|
|
Loading…
Reference in a new issue