|
Ran
|
Jobs
1
|
Files
73
|
Run time
1min
|
Badge
README BADGES
|
github
Skip device plugin alert when devicePlugin is disabled in ClusterPolicy When devicePlugin.enabled is set to false in the ClusterPolicy, the nvidia-node-status-exporter still monitors the device_plugin_devices_total metric which reports 0 (since no device plugin pods are running). This triggers a false positive GPUOperatorNodeDeploymentFailed alert. Fix: The operator now injects a DEVICE_PLUGIN_ENABLED env var into the node-status-exporter daemonset based on the ClusterPolicy. When set to "false", the exporter skips device plugin validation entirely, so the metric is never emitted and the alert does not fire. Fixes: https://github.com/NVIDIA/gpu-operator/issues/2237 Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com> (cherry picked from commit 9b079ef4d)
6 of 15 new or added lines in 2 files covered. (40.0%)
5641 of 14549 relevant lines covered (38.77%)
0.44 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 9 |
0.0 |
0.0% | cmd/nvidia-validator/metrics.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 33094217515.1 | 73 |
38.77 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|