Skip to content

[release-26.7] Skip device plugin alert when devicePlugin is disabled in ClusterPolicy - #2818

Merged
rahulait merged 1 commit into
release-26.7from
backport-2238-to-release-26.7
Aug 27, 2026
Merged

[release-26.7] Skip device plugin alert when devicePlugin is disabled in ClusterPolicy#2818
rahulait merged 1 commit into
release-26.7from
backport-2238-to-release-26.7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 Automated backport of #2238 to release-26.7

✅ Cherry-pick completed successfully with no conflicts.

Original PR: #2238
Original Author: @harche

Cherry-picked commits (1):

  • 9b079ef Skip device plugin alert when devicePlugin is disabled in ClusterPolicy

This backport was automatically created by the backport bot.

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: #2237

Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com>
(cherry picked from commit 9b079ef)
@copy-pr-bot

copy-pr-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@rahulait

Copy link
Copy Markdown
Contributor

/ok to test 37a3f2b

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 38.772% (+0.01%) from 38.762% — backport-2238-to-release-26.7 into release-26.7

@rahulait
rahulait merged commit 3b8a06e into release-26.7 Aug 27, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants