-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
topologymanager: document topology manager policy options #37668
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 |
---|---|---|
|
@@ -196,6 +196,9 @@ For a reference to old feature gates that are removed, please refer to | |
| `TopologyAwareHints` | `true` | Beta | 1.24 | | | ||
| `TopologyManager` | `false` | Alpha | 1.16 | 1.17 | | ||
| `TopologyManager` | `true` | Beta | 1.18 | | | ||
| `TopologyManagerPolicyAlphaOptions` | `false` | Alpha | 1.26 | | | ||
| `TopologyManagerPolicyBetaOptions` | `false` | Beta | 1.26 | | | ||
| `TopologyManagerPolicyOptions` | `false` | Alpha | 1.26 | | | ||
| `UserNamespacesStatelessPodsSupport` | `false` | Alpha | 1.25 | | | ||
| `VolumeCapacityPriority` | `false` | Alpha | 1.21 | - | | ||
| `WinDSR` | `false` | Alpha | 1.14 | | | ||
|
@@ -727,6 +730,15 @@ Each feature gate is designed for enabling/disabling a specific feature: | |
- `TopologyManager`: Enable a mechanism to coordinate fine-grained hardware resource | ||
assignments for different components in Kubernetes. See | ||
[Control Topology Management Policies on a node](/docs/tasks/administer-cluster/topology-manager/). | ||
- `TopologyManagerPolicyAlphaOptions`: Allow fine-tuning of topology manager policies, | ||
experimental, Alpha-quality options. | ||
This feature gate guards *a group* of topology manager options whose quality level is alpha. | ||
This feature gate will never graduate to beta or stable. | ||
- `TopologyManagerPolicyBetaOptions`: Allow fine-tuning of topology manager policies, | ||
experimental, Beta-quality options. | ||
This feature gate guards *a group* of topology manager options whose quality level is alpha. | ||
This feature gate will never graduate to stable. | ||
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. Same here. We don't want users to know what are behind the gate, and we want them to try them out? 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. The specific options gated by this feature gate is described in the relevant documentation for the TopologyManager itself, e.g. There is no precedent for listing out the specific options here (if that is what you are suggesting). |
||
- `TopologyManagerPolicyOptions`: Allow fine-tuning of topology manager policies, | ||
- `UserNamespacesStatelessPodsSupport`: Enable user namespace support for stateless Pods. | ||
- `VolumeCapacityPriority`: Enable support for prioritizing nodes in different | ||
topologies based on available PV capacity. | ||
|
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.
So the features behind this gate are designed to be a mystery, right?
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.
(I've contribute a near-identical feature for cpumanager). The intention here is AFACT not to hide the specific names nor to confuse the users. However we need to deal with the fact that the set of features guarded by these FGs are designed to rotate. We describe the FG in detail and their maturity level in the component-specific docs: https://github.com/kubernetes/website/blob/main/content/en/docs/tasks/administer-cluster/cpu-management-policies.md#static-policy-options
We can replicate the details here if this is less confusing for users.
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.
For now the only implemented policy option is
prefer-closest-numa-nodes
and it is an alpha option. I think the list of options and its stage should be documented intopology-manager
specific docs not here. I will add a section whichfeature-gates
has to be enabled to test out this optionThere 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.
section added, please let me know if it helps 😄