Skip to content

Allow k8s-device-plugin daemonset run in nonpriveleged mode #1423

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

curlup
Copy link

@curlup curlup commented Apr 29, 2025

Following this NVIDIA/k8s-device-plugin#435 (comment) limiting device plugin to be able to expose only certain devices.

With this change one can:

  • set mig strategy to None
  • set NVIDIA_VISIBLE_DEVICES=... in values
  • and set unprivileged: true

have a device plugin only expose needed GPUs to allow for k8s not to schedule pods to certain GPUs.

The configuration is tested by me in our cluster but the comment with the workaround I mentioned seems to be somewhat widely referred to (and I assume adopted).

Obviously I'm new in this repo - let me know what else I can do to push this forward.

Copy link

copy-pr-bot bot commented Apr 29, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant