Skip to content

Commit bea88b6

Browse files
committed
Adding usr/lib to paths for gpu-kubelet and compute-domain
1 parent d39c17f commit bea88b6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cmd/compute-domain-kubelet-plugin/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (r root) getDriverLibraryPath() (string, error) {
3434
"/lib64",
3535
"/lib/x86_64-linux-gnu",
3636
"/lib/aarch64-linux-gnu",
37+
"/usr/lib",
3738
}
3839

3940
libraryPath, err := r.findFile("libnvidia-ml.so.1", librarySearchPaths...)

cmd/gpu-kubelet-plugin/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func (r root) getDriverLibraryPath() (string, error) {
3434
"/lib64",
3535
"/lib/x86_64-linux-gnu",
3636
"/lib/aarch64-linux-gnu",
37+
"/usr/lib",
3738
}
3839

3940
libraryPath, err := r.findFile("libnvidia-ml.so.1", librarySearchPaths...)

0 commit comments

Comments
 (0)