-
Notifications
You must be signed in to change notification settings - Fork 614
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
Running device plugin with mixed mode MIG without SYS_ADMIN #916
Comments
You would have to inject both /proc/driver/nvidia/capabilities/mig/monitor and /dev/nvidia-caps/nvidia-cap1 |
Though you may not be able to mount the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello all, I am evaluating whether the device plugin can be run without SYS_ADMIN capabilities for mixed mode MIG. Currently the capability is needed to query the MIG slice's memory info. But this also increases the security surface area of the Pod and I am considering if we can reduce it.
Based on @klueska comment, it seems possible to pass the capabilities directly into the container without having to explicitly add
SYS_ADMIN
. I tried to bind mount the host's/proc/driver/nvidia/capabilities/mig/monitor
into container but running into pod error. Using a build fromrelease-0.13
Has anyone made this working? Any examples would definitely help.
Thanks
The text was updated successfully, but these errors were encountered: