|
Repo Added
|
Files
73
|
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
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|