Skip to content

Helm chart: add volumeMounts for nvidiaDriverRoot + custom env. for NFD pod#1678

Open
plevart wants to merge 1 commit intoNVIDIA:mainfrom
plevart:main
Open

Helm chart: add volumeMounts for nvidiaDriverRoot + custom env. for NFD pod#1678
plevart wants to merge 1 commit intoNVIDIA:mainfrom
plevart:main

Conversation

@plevart
Copy link
Copy Markdown

@plevart plevart commented Mar 28, 2026

This is a proposed fix for #1677

With this patch, I can specify something like the following in the Helm chart custom values.yaml:

deviceListStrategy: cdi-cri
nvidiaDriverRoot: "/"
gfd:
  enabled: true
  env:
    # when deviceListStrategy=cdi-cri, there is no runc wrapper to inject the library
    - name: LD_PRELOAD
      value: /driver-root/usr/lib64/libnvidia-ml.so.1

...and the gfd Pod is happy.

I also cleaned-up and aligned the logic of this part of template with device plugin template.

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 28, 2026

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.

Signed-off-by: Peter Levart <peter.levart@gmail.com>
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