Skip to content

Add nvidia DRA driver GPU service - #4926

Draft
maherthomsi wants to merge 4 commits into
bottlerocket-os:developfrom
maherthomsi:dra-changes
Draft

Add nvidia DRA driver GPU service#4926
maherthomsi wants to merge 4 commits into
bottlerocket-os:developfrom
maherthomsi:dra-changes

Conversation

@maherthomsi

@maherthomsi maherthomsi commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Dependent on bottlerocket-os/bottlerocket-core-kit#1035 and bottlerocket-os/bottlerocket-settings-sdk#148

Description of changes:
Integrates the NVIDIA GPU DRA driver into the NVIDIA Kubernetes variants and enables it via the new settings. Specifically:

  • Settings plugin: Wires the KubeletDraDriversV1 settings (from settings-sdk PR #148) into the aws-k8s-nvidia settings plugin, making settings.kubelet-dra-drivers.nvidia available on the NVIDIA variants.
  • Shared defaults: Adds the nvidia-dra-driver-gpu host service defaults. This adds in the rendered ExecStart, restart behavior, and the settings.kubelet-dra-drivers.nvidia.enabled opt-in toggle. We then symlink them into the aws-k8s-1.33-nvidia and aws-k8s-1.36-nvidia variants.
  • Variants: Includes the nvidia-dra-driver-gpu package (from core-kit PR #1035).
  • Migration: Adds an AddSettingsMigration for the new settings.kubelet-dra-drivers.nvidia.enabled setting so datastores can migrate cleanly.

Testing done:

  • Build 1.34 variant
  • Build 1.35 variant
  • Build 1.36 variant
  • Verified the settings.kubelet-dra-drivers.nvidia.enabled toggle starts/stops the gpu-kubelet-plugin host service.
  • Confirmed the settings migration applies across the version boundary.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Add an AddSettingsMigration for the new
settings.kubelet-dra-drivers.nvidia.enabled setting so datastores can be
migrated across the 1.63.0 -> 1.64.0 boundary.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
Wire the KubeletDraDriversV1 settings into the aws-k8s-nvidia plugin so
the settings.kubelet-dra-drivers.nvidia settings are available on the
NVIDIA variants.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
Add the nvidia-dra-driver-gpu host service defaults (rendered ExecStart,
restart behaviour, and the settings.kubelet-dra-drivers.nvidia.enabled
opt-in toggle) and symlink them into the aws-k8s-1.33-nvidia and
aws-k8s-1.36-nvidia variants.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
Include the nvidia-dra-driver-gpu package in the aws-k8s-1.34-nvidia,
aws-k8s-1.35-nvidia, and aws-k8s-1.36-nvidia variants.

Signed-off-by: Maher Homsi <maherhom@amazon.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