Skip to content

mount /lib/modules from host when using precompiled driver#2252

Open
fcrozat wants to merge 1 commit intoNVIDIA:mainfrom
fcrozat:precompiled_lib_modules_main
Open

mount /lib/modules from host when using precompiled driver#2252
fcrozat wants to merge 1 commit intoNVIDIA:mainfrom
fcrozat:precompiled_lib_modules_main

Conversation

@fcrozat
Copy link
Copy Markdown
Contributor

@fcrozat fcrozat commented Mar 26, 2026

This will ensure precompiled driver container has access to host kernel modules.

Description

This is needed for precompiled driver container for SLES 15 SP7 and SLES 16, provided by SUSE at https://registry.suse.com/repositories/third-party-nvidia-driver-sles15 resp. https://registry.suse.com/repositories/third-party-nvidia-driver-sles16 which can use underlying host kernel modules without the need to have the entire kernel part of the driver container.

Checklist

  • No secrets, sensitive information, or unrelated changes
  • Lint checks passing (make lint)
  • Generated assets in-sync (make validate-generated-assets)
  • Go mod artifacts in-sync (make validate-modules)
  • Test cases are added for new code paths

Testing

Unit test added and tested on a k3s cluster running SLES 15 SP7 and SLES 16.0

This PR replaces #2040 to be non distribution specific.

Signed-off-by: Frederic Crozat <fcrozat@suse.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 26, 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.

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