Important Note: NVIDIA AI Enterprise customers can get support from NVIDIA Enterprise support. Please open a case here.
Describe the bug
The GPU Operator is the recommended install mode for DCGM Exporter however it doesn't seem to support enabling Pod Labels for metrics.
To Reproduce
Deploy GPU-Operator and enable DCGM Exporter with extra environment variables
- DCGM_EXPORTER_KUBERNETES_ENABLE_POD_LABELS
- DCGM_EXPORTER_KUBERNETES_ENABLE_POD_UID
Expected behavior
Deployment should create
- ClusterRole and ClusterRoleBinding to ServiceAccount used by dcgm export pods
- AutoMount Service Account Token to allow Pods read Kubernetes API
- Mount kubelet path as a volume by DCGM pods
Environment (please provide the following information):
- GPU Operator Version: v23.6.1
- OS: Rocky-Linux-8.10
- Kernel Version: [e.g. 6.8.0-generic]
- Container Runtime Version: containerd v1.7.1
- Kubernetes Distro and Version: K8s v1.24.12
Information to attach (optional if deemed irrelevant)
Collecting full debug bundle (optional):
curl -o must-gather.sh -L https://raw.githubusercontent.com/NVIDIA/gpu-operator/main/hack/must-gather.sh
chmod +x must-gather.sh
./must-gather.sh
NOTE: please refer to the must-gather script for debug data collected.
This bundle can be submitted to us via email: operator_feedback@nvidia.com
Important Note: NVIDIA AI Enterprise customers can get support from NVIDIA Enterprise support. Please open a case here.
Describe the bug
The GPU Operator is the recommended install mode for DCGM Exporter however it doesn't seem to support enabling Pod Labels for metrics.
To Reproduce
Deploy GPU-Operator and enable DCGM Exporter with extra environment variables
Expected behavior
Deployment should create
Environment (please provide the following information):
Information to attach (optional if deemed irrelevant)
kubectl get pods -n OPERATOR_NAMESPACEkubectl get ds -n OPERATOR_NAMESPACEkubectl describe pod -n OPERATOR_NAMESPACE POD_NAMEkubectl logs -n OPERATOR_NAMESPACE POD_NAME --all-containersnvidia-smifrom the driver container:kubectl exec DRIVER_POD_NAME -n OPERATOR_NAMESPACE -c nvidia-driver-ctr -- nvidia-smijournalctl -u containerd > containerd.logCollecting full debug bundle (optional):
NOTE: please refer to the must-gather script for debug data collected.
This bundle can be submitted to us via email: operator_feedback@nvidia.com