Skip to content

Add pod label enrichment support to DCGM Exporter#2103

Draft
karthikvetrivel wants to merge 1 commit intoNVIDIA:mainfrom
karthikvetrivel:dcgm-exporter-pod-label-metrics
Draft

Add pod label enrichment support to DCGM Exporter#2103
karthikvetrivel wants to merge 1 commit intoNVIDIA:mainfrom
karthikvetrivel:dcgm-exporter-pod-label-metrics

Conversation

@karthikvetrivel
Copy link
Member

@karthikvetrivel karthikvetrivel commented Feb 7, 2026

Addresses #2009.

Description

Add support for pod label enrichment in DCGM Exporter metrics. When enabled, GPU metrics will include labels from the pods using those GPUs.

This feature adds:

  • New dcgmExporter.podMetrics.enablePodLabels configuration option
  • ClusterRole and ClusterRoleBinding for cluster-wide pod read access (conditionally created)
  • Automatic ServiceAccount token mounting when enabled
  • DCGM_EXPORTER_KUBERNETES_ENABLE_POD_LABELS environment variable injection

The feature is opt-in (disabled by default) since it grants cluster-wide pod read permissions.

Usage

dcgmExporter:
  podMetrics:
    enablePodLabels: true

In draft, needs to be tested.

Signed-off-by: Karthik Vetrivel <kvetrivel@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant