[Feature]: Allow custom ServiceAccount for DCGM Exporter DaemonSet
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, helm, kubernetes
- Lĩnh vực
- infrastructure
Hướng nghiên cứu
Bắt đầu với DCGMExporterSpec và TransformDCGMExporter, sau đó kiểm tra assets/state-dcgm-exporter/0100_service_account.yaml và 0800_daemonset.yaml. Theo dõi đường dẫn cấu hình của ClusterPolicy và Helm, bao gồm các tài nguyên Role và ClusterRoleBinding. Được xem là hoàn tất khi tên tùy chỉnh và hành vi tạo hoạt động trong namespace của operator, trong khi cấu hình không được thiết lập vẫn giữ nguyên hành vi ServiceAccount hiện có và giới hạn theo namespace được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Go
- Star
- 2.9k
- Fork
- 576
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 69
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/gpu-operator
-
[Bug]: dcgm-exporter no longer gets hostNetwork when a host DCGM is set through dcgmExporter.envCó thể đã có người làm @blacksoxx đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
NVIDIA/gpu-operator#3091 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
feature lifecycle/frozen needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
NVIDIA/gpu-operator#3074 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: nvidia-validator waits the full timeout on a failed validation pod; loadPodSpec panicsCó thể đã có người làm @kvalliyurnatt đã nhận 2 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NVIDIA/gpu-operator#3065 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: GPUCluster common name label breaks DRA validator selectorCó thể đã có người làm @ajavanma đã nhận 29 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NVIDIA/gpu-operator#2955 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Precompiled node pools drop kernels that sanitize to the same nameCó thể đã có người làm @SebTardif đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 20/100
NVIDIA/gpu-operator#3098 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA/gpu-operator
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Mend: dependency security vulnerability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
kube-tarian/sigrun#202 ·
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
eugenioenko/ttt#1085 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
fullsend-ai/fullsend#8688 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
question raised-by:verifier
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
medici-finance/assay#4013 ·
Maintainer thường phản hồi trong vòng 1 ngày