Skip to content

support pod label collection on MIG#660

Open
Raid57 wants to merge 1 commit into
NVIDIA:mainfrom
Raid57:feat/pod-label-on-mig
Open

support pod label collection on MIG#660
Raid57 wants to merge 1 commit into
NVIDIA:mainfrom
Raid57:feat/pod-label-on-mig

Conversation

@Raid57
Copy link
Copy Markdown

@Raid57 Raid57 commented May 18, 2026

Summary

Builds upon the existing Kubernetes pod label support by ensuring labels resolved for MIG workloads are propagated to the final exported metrics.
Today, pod metadata can already be resolved for MIG-backed workloads, but the labels are not copied into the final metrics emitted from the shared/MIG enrichment path. This causes inconsistent behavior between standard GPU metrics and MIG metrics, and prevents label-based filtering and aggregation for MIG workloads.

Implementation

Extends the metric enrichment flow for MIG/shared GPU workloads so that the pod labels already collected by PodMapper are copied into the final metric labels, matching the behavior of the standard GPU mapping path.

Key Changes

  • Preserve parsed pod labels when emitting metrics for MIG-backed workloads
  • Align MIG/shared GPU metric enrichment with the existing non-MIG pod label behavior

Configuration

No new flags or configuration are introduced.
Existing Kubernetes pod label settings continue to apply, and this change makes that behavior consistent for MIG metrics as well.

(cherry picked from commit 1c7178849aabb069cc3b0b3608b8464a17980dcd)
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