aboutsummaryrefslogtreecommitdiff
path: root/cluster/staging/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-11-04 11:22:54 +0100
committerAlex Auvolat <alex@adnab.me>2022-11-04 11:22:54 +0100
commit7587024ff5e1dfaa12d2f1019329523d2df3aa85 (patch)
tree7f30d001611134e40e65e54c04e0cc9c2034a71c /cluster/staging/app
parentcc945340a134b5eebd404531918c93d57fc5a15d (diff)
downloadnixcfg-7587024ff5e1dfaa12d2f1019329523d2df3aa85.tar.gz
nixcfg-7587024ff5e1dfaa12d2f1019329523d2df3aa85.zip
staging: change resources for im job
Diffstat (limited to 'cluster/staging/app')
-rw-r--r--cluster/staging/app/im/deploy/im.hcl8
1 files changed, 6 insertions, 2 deletions
diff --git a/cluster/staging/app/im/deploy/im.hcl b/cluster/staging/app/im/deploy/im.hcl
index 25e80a1..5d5d8bb 100644
--- a/cluster/staging/app/im/deploy/im.hcl
+++ b/cluster/staging/app/im/deploy/im.hcl
@@ -50,7 +50,8 @@ job "im" {
}
resources {
- memory = 200
+ memory = 100
+ memory_max = 1000
cpu = 1000
}
}
@@ -91,6 +92,7 @@ job "im" {
resources {
memory = 2000
+ memory_max = 3000
cpu = 1000
}
@@ -126,6 +128,7 @@ job "im" {
resources {
cpu = 100
memory = 100
+ memory_max = 500
}
template {
@@ -163,7 +166,8 @@ EOH
}
resources {
- memory = 250
+ memory = 200
+ memory_max = 1000
cpu = 100
}
}