aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/telemetry
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-04-08 10:41:50 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-04-08 10:43:42 +0200
commita614f495ad25adc180a30c8cdc5dadc4f11aa3a6 (patch)
tree1540bfdbffd017a11e71842cd8ecaebdea81aeb3 /cluster/prod/app/telemetry
parent0e4c641db741c91dd95934b61e70a2f5268b3c7e (diff)
downloadnixcfg-a614f495ad25adc180a30c8cdc5dadc4f11aa3a6.tar.gz
nixcfg-a614f495ad25adc180a30c8cdc5dadc4f11aa3a6.zip
allow memory overprovisionning
Diffstat (limited to 'cluster/prod/app/telemetry')
-rw-r--r--cluster/prod/app/telemetry/deploy/telemetry-service.hcl9
1 files changed, 6 insertions, 3 deletions
diff --git a/cluster/prod/app/telemetry/deploy/telemetry-service.hcl b/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
index 9955872..afa8a8d 100644
--- a/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
+++ b/cluster/prod/app/telemetry/deploy/telemetry-service.hcl
@@ -36,7 +36,8 @@ job "telemetry-service" {
}
resources {
- memory = 200
+ memory = 50
+ memory_max = 200
cpu = 100
}
}
@@ -75,7 +76,8 @@ EOH
}
resources {
- memory = 500
+ memory = 100
+ memory_max = 400
cpu = 500
}
@@ -123,7 +125,8 @@ EOH
}
resources {
- memory = 200
+ memory = 50
+ memory_max = 200
cpu = 100
}
}