Commit 0f2aa79
committed
Conditionally mount the host's /dev over the container's /dev
Currently, in the compute domain driver, we unconditionally mount the
host's /dev over the container's /dev regardless of what the devRoot of
the GPU driver is. This change was introduced in
NVIDIA#307.
Unfortunately, this causes some problems on certain systems as described
in NVIDIA#477.
This patch makes this mount contingent on devRoot == "/" (which is the
only case where we actually ever wanted / needed to have this mount in
the first place.
Signed-off-by: Kevin Klues <[email protected]>1 parent fe736f1 commit 0f2aa79
File tree
2 files changed
+28
-1
lines changed- cmd/compute-domain-kubelet-plugin
- deployments/helm/nvidia-dra-driver-gpu/templates
2 files changed
+28
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments