Repository navigation
Ignore volume mounts if void device requested through envvar - #2236
Open
cdesiniotis wants to merge 2 commits into
Open
cdesiniotis wants to merge 2 commits into
cdesiniotis wants to merge 2 commits into
Conversation
This reverts commit 78f2970. Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
cdesiniotis
force-pushed
the
revert-void-volume-mount
branch
from
November 22, 2026 21:52
654a467 to
927dbf6
Compare
Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
cdesiniotis
force-pushed
the
revert-void-volume-mount
branch
from
November 22, 2026 22:15
927dbf6 to
cbe4f68
Compare
Coverage Report for CI Build 45076745681Coverage remained the same at 45.267%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
Fixes #2226
Description
This PR reverts 78f2970 which does not work when user namespaces are enabled in Kubernetes. Instead of introducing an explicit 'void' volume mount device, ignore any device requests specified through volume mounts if the 'void' device is explicitly requested via the
NVIDIA_VISIBLE_DEVICESenvironment variable.Checklist
make test)make lint)Testing
Manually tested on a GPU node. Confirmed that NVIDIA/gpu-operator#3077 is still addressed (which is why we originally introduced a 'void' volume mount).