fix(k0s): select RHEL 9 NVIDIA DKMS stream for air-gap installs - #180
Merged
kbhos-splunk merged 1 commit intoAug 20, 2026
Merged
Conversation
kbhos-splunk
marked this pull request as ready for review
August 20, 2026 11:58
spl-arif
self-requested a review
August 20, 2026 12:09
spl-arif
approved these changes
Aug 20, 2026
kupratyu-splunk
approved these changes
Aug 20, 2026
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.
Description
Fix RHEL 9 air-gap NVIDIA closure staging when the CUDA repository's default
open-dkmsmodule stream hides the establishedkmod-nvidia-latest-dkmspackage from a plaindnf downloadoperation.The air-gap installer now checks whether the RPM is already visible and, only
for RHEL 9, resets a conflicting/default NVIDIA stream and enables
nvidia-driver:latest-dkmsbefore resolving the existing package closure.RHEL 10 continues using ordinary RPMs, Ubuntu 24.04 continues using its APT
container path, and the non-air-gap installer is unchanged.
Related Issues
Type of Change
Changes Made
nvidia-driver:latest-dkmswhenkmod-nvidia-latest-dkmsis hidden by modular filtering.becomes visible after changing streams.
RHEL 10, Ubuntu 24.04, and non-air-gap isolation.
Testing Performed
bash tools/cluster_setup/test_k0s_cluster_with_stack.sh— 246 passed, 0 failed)shellcheckis not installed in the development environment)Test Environment
Test Steps
bash -nagainst the modified installer and test scripts.bash tools/cluster_setup/test_k0s_cluster_with_stack.sh.bash tools/cluster_setup/test_installer_dry_run.sh.open-dkmswhilelatest-dkmsremains available as a separate stream.kmod-nvidia-latest-dkmsas anordinary RPM and therefore bypasses the RHEL 9-only helper.
Documentation
Checklist
Breaking Changes
Impact: None. The new behavior is limited to RHEL 9 air-gap NVIDIA closure
resolution when the requested driver RPM is not already visible.
Migration Path: None required.
Screenshots/Recordings
Not applicable.
Additional Notes
The original failure occurred before cluster installation while building the
NVIDIA closure. An end-to-end air-gap cluster installation should be performed
before merging to confirm the repository closure resolves and installs on the
target GPU nodes.
Reviewer Notes
Please pay special attention to:
restored after closure creation.
Commit Message Convention: This PR follows Conventional Commits