fix(prometheus): give cadvisor room for a full swarm node

cadvisor's footprint grows with the number of containers it watches. On a
swarm lab node carrying the whole stack it reached 436MB and the cgroup
OOM-killer reaped it, taking the deploy down with rc 137 minutes later.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-07-29 08:51:08 +02:00
1 parent 6c20fd4e30
commit 8c7cdff6b6
1 file changed
+2 -2
+2 -2
View File
@@ -100,8 +100,8 @@ cadvisor:
version: v0.52.1
name: prometheus-cadvisor
cpus: "0.25"
mem_reservation: 64m
mem_limit: 512m
mem_reservation: 128m
mem_limit: 1g
pids_limit: 64
min_storage: 1GB
ports: