migrations: add migrations for prefer-closest-numa-nodes and max-allowable-numa-nodes#4778
Merged
piyush-jena merged 3 commits intobottlerocket-os:developfrom Apr 21, 2026
Merged
Conversation
739fc4a to
f23b27d
Compare
9959336 to
54e0103
Compare
This was referenced Mar 10, 2026
Merged
mgsharm
reviewed
Mar 23, 2026
mgsharm
reviewed
Mar 23, 2026
a819e70 to
5ecbe8e
Compare
7d6a6ec to
ced4869
Compare
piyush-jena
commented
Apr 10, 2026
mgsharm
approved these changes
Apr 10, 2026
Signed-off-by: Piyush Jena <jepiyush@amazon.com>
Add AddSettingsMigration for: - settings.kubernetes.topology-manager-policy-options - settings.kubernetes.topology-manager-policy-options.prefer-closest-numa-nodes - settings.kubernetes.topology-manager-policy-options.max-allowable-numa-nodes Signed-off-by: Piyush Jena <jepiyush@amazon.com>
Signed-off-by: Piyush Jena <jepiyush@amazon.com>
ced4869 to
ec6cc83
Compare
Contributor
Author
|
This PR is pending a bottlerocket-core-kit release carrying this change: bottlerocket-os/bottlerocket-core-kit#901 |
Contributor
|
Q - from the core-kit change, it seems that we did "no-op" for the versions that does not support them. Can you add some test result confirming that the settings does not get rendered? |
Contributor
Author
|
@ytsssun Yeah should have attached some results in the core-kit PR but here it is: The settings are not rendered here in 1.30 variant. In 1.34 variant, only 1 of the setting is rendered. |
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.
Issue number:
Related to: #4750
Related to:
Description of changes:
Add 2 topology manager policy options:
max-allowable-numa-nodes- GA k8s-1.35+prefer-closest-numa-nodes- GA k8s-1.32+Testing done:
Migration testing:
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.