aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-30 17:22:12 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-30 17:22:12 +0200
commit93c9e7d9aeb664a84720e70bd59f2125ba6c744d (patch)
tree9d4bdeadf5ab10a7f0028e969b6fa75a0a4f10f9 /app
parent0c015b4e0c1b38b100be7f34c8da230f258ef7e9 (diff)
downloadnixcfg-93c9e7d9aeb664a84720e70bd59f2125ba6c744d.tar.gz
nixcfg-93c9e7d9aeb664a84720e70bd59f2125ba6c744d.zip
Make some RAM space for drone workers
Diffstat (limited to 'app')
-rw-r--r--app/im/deploy/im.hcl6
-rw-r--r--app/telemetry/deploy/telemetry-system.hcl9
2 files changed, 10 insertions, 5 deletions
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index af5304f..a9db5b8 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -84,7 +84,7 @@ job "im" {
}
resources {
- memory = 2500
+ memory = 2000
cpu = 1000
}
@@ -119,7 +119,7 @@ job "im" {
resources {
cpu = 100
- memory = 200
+ memory = 100
}
template {
@@ -157,7 +157,7 @@ EOH
}
resources {
- memory = 200
+ memory = 100
cpu = 100
}
}
diff --git a/app/telemetry/deploy/telemetry-system.hcl b/app/telemetry/deploy/telemetry-system.hcl
index d5a7241..3e26c2e 100644
--- a/app/telemetry/deploy/telemetry-system.hcl
+++ b/app/telemetry/deploy/telemetry-system.hcl
@@ -101,7 +101,7 @@ EOH
}
resources {
- memory = 200
+ memory = 100
cpu = 100
}
}
@@ -124,7 +124,7 @@ EOH
}
resources {
- memory = 200
+ memory = 100
cpu = 100
}
}
@@ -171,6 +171,11 @@ EOH
data = file("../config/filebeat.yml")
destination = "secrets/filebeat.yml"
}
+
+ resources {
+ memory = 100
+ cpu = 100
+ }
}
}
}