diff options
author | Alex Auvolat <alex@adnab.me> | 2022-05-30 17:22:12 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-05-30 17:22:12 +0200 |
commit | 93c9e7d9aeb664a84720e70bd59f2125ba6c744d (patch) | |
tree | 9d4bdeadf5ab10a7f0028e969b6fa75a0a4f10f9 | |
parent | 0c015b4e0c1b38b100be7f34c8da230f258ef7e9 (diff) | |
download | nixcfg-93c9e7d9aeb664a84720e70bd59f2125ba6c744d.tar.gz nixcfg-93c9e7d9aeb664a84720e70bd59f2125ba6c744d.zip |
Make some RAM space for drone workers
-rw-r--r-- | app/im/deploy/im.hcl | 6 | ||||
-rw-r--r-- | app/telemetry/deploy/telemetry-system.hcl | 9 |
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 + } } } } |