ops: rebalance container memory limits (node-exporter 32m, cadvisor 192m)
Some checks failed
CI / ruff (push) Successful in 12s
CI / validate (push) Successful in 25s
CI / dependency-scanning (push) Successful in 29s
CI / pytest (push) Failing after 3h10m28s
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled

node-exporter only uses ~20MB so 32m is safe. cadvisor was at 98% of
128m and crashing during CI runs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-17 23:31:55 +01:00
parent 7d652716bb
commit d96e0ea1b4

View File

@@ -210,7 +210,7 @@ services:
- "--path.sysfs=/host/sys" - "--path.sysfs=/host/sys"
- "--path.rootfs=/rootfs" - "--path.rootfs=/rootfs"
- "--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)" - "--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)"
mem_limit: 64m mem_limit: 32m
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:9100/metrics | grep -q 'node_exporter_build_info' || exit 1"] test: ["CMD-SHELL", "wget -qO- http://localhost:9100/metrics | grep -q 'node_exporter_build_info' || exit 1"]
interval: 30s interval: 30s
@@ -235,7 +235,7 @@ services:
privileged: true privileged: true
devices: devices:
- /dev/kmsg - /dev/kmsg
mem_limit: 128m mem_limit: 192m
networks: networks:
- monitoring - monitoring