[Feature]: Allow custom ServiceAccount for DCGM Exporter DaemonSet
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go, helm, kubernetes
- Domain
- infrastructure
Research direction
Start with DCGMExporterSpec and TransformDCGMExporter, then inspect assets/state-dcgm-exporter/0100_service_account.yaml and 0800_daemonset.yaml. Trace the ClusterPolicy and Helm configuration path, including the Role and ClusterRoleBinding resources. Done means custom names and create behavior work in the operator namespace, while an unset configuration preserves the existing ServiceAccount behavior and the namespaced limitation is documented.
Written by the indexing model from the issue text.
Description
Problem
GPU Operator hardcodes the DCGM Exporter ServiceAccount to nvidia-dcgm-exporter (assets + DaemonSet). DCGMExporterSpec has no serviceAccount / serviceAccountName field, and TransformDCGMExporter never overrides it. Helm/ClusterPolicy cannot change it; patches are reverted on reconcile.
Request
Add ClusterPolicy/Helm support to configure the DCGM Exporter SA, with default behavior unchanged:
dcgmExporter:
serviceAccount:
create: false # true = operator creates SA (current behavior)
name: my-metrics-identity # default: nvidia-dcgm-exporter
- Default unset → keep creating/using
nvidia-dcgm-exporter(backward compatible). create: false→ use an existing SA in the operator namespace; bind Role/ClusterRoleBindings to that SA.- Document that SAs are namespaced (cross-namespace SA is out of scope).
Why
Enterprise platforms bind identity/PKI/IRSA/Workload Identity to a specific SA name. Without this, users must run a standalone exporter, vendor-patch the operator, or use fragile admission mutators.
Pros
- Keep using the operator-managed DCGM Exporter (no parallel DaemonSet).
- Fit org identity/IAM/PKI SA naming requirements.
- Align with existing per-component knobs (
dcgmExporter.annotations, env, serviceMonitor). - Backward compatible; reduces forks/mutators/reconcile fights.
References
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 552
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 68
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/gpu-operator
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
NVIDIA/gpu-operator#2968 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 · 1 comment ·
Maintainers usually reply within 1 day
-
lifecycle/stale question
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
NVIDIA/gpu-operator#2280 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
[Bug]: GPU Operator MPS config-manager cannot signal MPS daemon due to process-target mismatchPossibly taken @kvalliyurnatt claimed this 1 day ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
NVIDIA/gpu-operator#2970 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
NVIDIA/gpu-operator#2957 · 1 comment ·
Maintainers usually reply within 1 day
All issues in NVIDIA/gpu-operator
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
open-telemetry/opentelemetry-go-compile-instrumentation#1417 ·
Maintainers usually reply within 2 days
-
agent-research-finding agent-research-recommend chore ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
jordansmall/spindrift#4068 · 1 comment ·
Maintainers usually reply within 1 day
-
Type/Task
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenNSW/nsw-srilanka#537 ·
Maintainers usually reply within 1 day
-
security
Difficulty 2/5 1-2 days Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day