Add kubelet Topology Manager policy options for Bottlerocket#9144
Open
youwalther65 wants to merge 2 commits intoaws:mainfrom
Open
Add kubelet Topology Manager policy options for Bottlerocket#9144youwalther65 wants to merge 2 commits intoaws:mainfrom
youwalther65 wants to merge 2 commits intoaws:mainfrom
Conversation
…ernetesTopologyManagerPolicyOptions in the Bottlerocket settings SDK
ryan-mist
reviewed
May 8, 2026
| // | ||
| // [settings.kubernetes.topology-manager-policy-options] | ||
| // prefer-closest-numa-nodes = true | ||
| // max-allowable-numa-nodes = 8 |
Contributor
There was a problem hiding this comment.
nit: align this comment more with the rest of the file, maybe something like:
// BottlerocketTopologyManagerPolicyOptions maps to KubernetesTopologyManagerPolicyOptions in the Bottlerocket settings SDK.
// https://github.com/bottlerocket-os/bottlerocket-settings-sdk/blob/develop/bottlerocket-settings-models/modeled-types/src/kubernetes.rs
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.
Fixes #9143
Description
In order to support latency-critical and high-throughput workloads, kubelet Topology Manager policy options prefer-closest-numa-nodes and max-allowable-numa-nodes need to be supported in Karpenter.
Bottlerocket supports settings.kubernetes.topology-manager-policy-options since v1.60.0.
Added Topology Manager policy options in pkg/providers/amifamily/bootstrap/bottlerocketsettings.go,
How was this change tested?
Created a
ec2nodeclasswith the a pinned, most recent Bottlerocket AMI supporting v1.60.0 like:Run modified Karpenter controller with
make runand SSM'ed into launched Bottlerocket instance to check settings:Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.