-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Fix max-allowable-numa-nodes documentation #54271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -271,7 +271,14 @@ lack of data, using this policy option with Kubernetes {{< skew currentVersion > | |
| at your own risk. | ||
| {{< /note >}} | ||
|
|
||
| You can enable this option by adding `max-allowable-numa-nodes=true` to the Topology Manager policy options. | ||
| You can enable this option by adding to the Topology Manager policy options `max-allowable-numa-nodes=<numa_nodes_threshold>`, | ||
| where `numa_nodes_threshold` is an integer defining the new NUMA nodes threshold for starting the kubelet. | ||
| Here is an example of such configuration in kubelet configuration file: | ||
|
|
||
| ```yaml | ||
| topologyManagerPolicyOptions: | ||
| max-allowable-numa-nodes: "32" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the value is an integer threshold, what does "32" mean exactly? Does it raise the default limit from 8 to 32? The text says "defining the new NUMA nodes threshold for starting the kubelet" but the existing paragraph at L276 says "Setting a value of max-allowable-numa-nodes does not affect the latency of pod admission". These two sentences are now contradictory in tone. Clarify: does setting "32" mean "allow kubelet to start with Topology Manager on nodes with up to 32 NUMA nodes"? |
||
| ``` | ||
|
|
||
| Setting a value of `max-allowable-numa-nodes` does not (in and of itself) affect the | ||
| latency of pod admission, but binding a Pod to a (Kubernetes) node with many NUMA does have an impact. | ||
|
|
@@ -394,4 +401,4 @@ assignments. | |
| (beta) for more options. | ||
|
|
||
| 1. The scheduler is not topology-aware, so it is possible to be scheduled on a node and then fail | ||
| on the node due to the Topology Manager. | ||
| on the node due to the Topology Manager. | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
max-allowable-numa-nodes=<numa_nodes_threshold>, where numa_nodes_threshold is an integer — The old text said max-allowable-numa-nodes=true (boolean). This PR changes it to accept an integer. This is a significant behavioral claim — please link to the upstream KEP or source code commit that changed this from a boolean to an integer threshold.