Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NVIDIA_VISIBLE_DEVICES env var in GPU monitoring #1726

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gjulianm
Copy link
Contributor

@gjulianm gjulianm commented Feb 28, 2025

What this PR does / why we need it:

Include the NVIDIA_VISIBLE_DEVICES environment variable in the agent and system-probe containers when GPU monitoring is enabled.

This is needed in addition to the /var/run/nvidia-container-devices mount, as the latter will only be recognized by the k8s NVIDIA device plugin when accept-nvidia-visible-devices-as-volume-mount is enabled in its configuration.

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md
  • For Datadog Operator chart or value changes update the test baselines (run: make update-test-baselines)

@gjulianm gjulianm self-assigned this Feb 28, 2025
@github-actions github-actions bot added the chart/datadog This issue or pull request is related to the datadog chart label Feb 28, 2025
@gjulianm gjulianm marked this pull request as ready for review February 28, 2025 16:01
@gjulianm gjulianm requested review from a team as code owners February 28, 2025 16:01
Copy link

@val06 val06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart/datadog This issue or pull request is related to the datadog chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants