Repository navigation
Description
Friction
dcgm-exporter runs on the chart's default resources, and its fixed footprint already uses 82-84% of the 512Mi memory limit by RSS and 3.3 times its 128Mi request. Anything that grows it (more GPUs per node, more DCP fields, a DCGM or exporter upgrade) gets it OOM-killed, and a crash-looping exporter silently removes that node's DCGM series, the GPU dashboard and the GpuTemperatureHigh and GpuPowerOverSiteBudget alerts; with no Alertmanager receiver (#1392) nobody would be told. The low request also hides about 0.9 GiB from the scheduler across the GPU nodes.
Evidence
Live, read-only, 2026-10-18:
- DaemonSet
monitoring/dcgm-exporter(chart dcgm-exporter-4.8.4, image 4.6.1-4.8.4-distroless, containerexporter, QoS Burstable): requests cpu 100m / memory 128Mi, limits cpu 200m / memory 512Mi. - RSS (
container_memory_rss): 419.2, 427.6 and 425.4 MiB (82-84% of the limit), flat within ±2 MiB for 15 days; working set 437.9-478.2 MiB including reclaimable page cache. CPU 13-17m. container_oom_events_totalrose by 0 over 15 days; the last restarts (exit 255, 2026-10-03 and 2026-10-05) were node reboots. A pod on a node since removed used about 54 MiB RSS, so the footprint follows the node's GPUs and fields.
Repo:
k8s/monitoring/dcgm-exporter-values.yaml(45 lines) has noresourcesblock; chart 4.8.4values.yaml:161-167gives the defaults above. Both deploy paths read it:src/devops_cli/commands/k8s/stack_lifecycle.py:118-124andk8s/argocd/apps/dcgm-exporter.yaml:16.- No rule in
k8s/monitoring/prometheus-values.yamlwatches container memory against its limit;container_memory_working_set_bytesis in the k8s-monitoring allow list (k8s/monitoring/k8s-monitoring-values.yaml:37).
Remedy
- Test first: pin dcgm-exporter's
resourcesin the values test as one structural tuple. k8s/monitoring/dcgm-exporter-values.yaml:resources: {requests: {cpu: 50m, memory: 512Mi}, limits: {cpu: 200m, memory: 768Mi}}, with a comment recording the measurement ("RSS about 420-430 MiB with 2 GPUs per node, 2026-10").- Optional, same PR: a
ContainerMemoryNearLimitwarning (container_memory_working_set_bytesoverkube_pod_container_resource_limits{resource="memory"}above 0.9 for 15m; checkcontainer_memory_rssis in the allow list before using it), pinned intests/test_k8s_monitoring_alerting.pyand listed in the README Alerting table.
Priority: P3. Severity low: latent, no OOM kill yet.
Proposed design
Problem statement
The dcgm-exporter's current resource limits (512Mi memory limit and 128Mi memory request) are insufficient for its actual memory usage, causing it to be OOM-killed when the number of GPUs or DCP fields increases. This leads to silent removal of GPU metrics and alerts, and hides about 0.9 GiB from the scheduler across GPU nodes.
Acceptance criteria
- Criterion 1: The dcgm-exporter's resources are updated to match its measured footprint with a 512Mi memory request and 768Mi memory limit.
Verification: Verify that k8s/monitoring/dcgm-exporter-values.yaml contains resources block with requests.cpu: 50m, requests.memory: 512Mi, limits.cpu: 200m, limits.memory: 768Mi. - Criterion 2: The dcgm-exporter's memory request and limit are sufficient to prevent OOM kills under normal conditions.
Verification: Confirm that the measured RSS usage (420-430 MiB) is within the new limits, and test with increased GPU count or DCP fields. - Criterion 3: The change includes a comment documenting the measurement for future reference.
Verification: Check that k8s/monitoring/dcgm-exporter-values.yaml contains a comment recording the measurement: "RSS about 420-430 MiB with 2 GPUs per node, 2026-10".
Key questions
None.
Open questions
- What are the current resource settings for dcgm-exporter? (missing verified source)
- What is the measured RSS usage of dcgm-exporter? (missing verified source)
- What is the current working set of dcgm-exporter? (missing verified source)
- How does the current resource allocation affect the scheduler? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 18, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
The candidate addresses a resource limitation issue that causes OOM-kills and silent failures.The issue is latent but has potential to cause service disruptions and data loss if not addressed.Fixing the memory limits ensures stable operation of GPU monitoring and prevents loss of critical metrics.Requires updating resource definitions and potentially adding alerting rules, but the core fix is straightforward.fix(k8s): dcgm-exporter's memory request and limit fit its measured f…