Skip to content

variants: add dranet to nvidia variants - #4974

Merged
maherthomsi merged 3 commits into
bottlerocket-os:developfrom
maherthomsi:dranet
Nov 6, 2026
Merged

maherthomsi merged 3 commits into
bottlerocket-os:developfrom
maherthomsi:dranet

Conversation

@maherthomsi

@maherthomsi maherthomsi commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Bump the bottlerocket-settings-sdk to v0.31.0 and add associated migration tests.

Add the dranet host service defaults, symlink them into the aws-k8s-1.34 through aws-k8s-1.37 nvidia variants, and include the package in those variants.

The defaults set settings.kubelet-dra-drivers.net: enabled, bind-address, and advertised-devices. The service only runs if enabled is true.

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.

Comment thread sources/shared-defaults/dranet.toml Resolved
Pick up settings.kubelet-dra-drivers.net for the dranet service.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
@maherthomsi maherthomsi changed the title variants: add dranet to nvidia variants variants: add dranet to kubernetes variants Nov 4, 2026
@maherthomsi
maherthomsi force-pushed the dranet branch 2 times, most recently from d8d68f1 to c0637b3 Compare November 4, 2026 23:39
Bump the version to 1.69.0 and add an AddPrefixesMigration for the new
settings.kubelet-dra-drivers.net settings.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
@maherthomsi
maherthomsi force-pushed the dranet branch 4 times, most recently from b7b4707 to 68be765 Compare November 5, 2026 21:48
@maherthomsi maherthomsi changed the title variants: add dranet to kubernetes variants variants: add dranet to nvidia variants Nov 5, 2026
Comment thread sources/shared-defaults/dranet.toml Resolved
Add the dranet host service defaults (rendered ExecStart, the disabled
marker, and the settings.kubelet-dra-drivers.net opt-in toggle), symlink
them into the aws-k8s-1.34 through aws-k8s-1.37 nvidia variants, and
include the dranet package in those variants.

Restart the unit with --no-block so that turning the driver on applies
without a reboot.

Signed-off-by: Maher Homsi <maherhom@amazon.com>
@maherthomsi
maherthomsi merged commit 4bd6d8d into bottlerocket-os:develop Nov 6, 2026
3 checks passed
Comment thread sources/Cargo.toml
git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk"
tag = "bottlerocket-settings-models-v0.29.0"
version = "0.19.0"
tag = "bottlerocket-settings-models-v0.31.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong setting sdk version

@KCSesh

KCSesh commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Fix in:
#4991

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.

6 participants