55[id="topology_manager_policies_{context}"]
66= Topology Manager policies
77
8- Topology Manager works on Nodes and Pods that meet the following conditions:
8+ Topology Manager currently aligns Pod resources of all QoS classes. Topology Manager
9+ collects topology hints from Hint Providers (CPU Manager, Device Manager, etc) and uses
10+ these collected hints to align the Pod resources.
911
10- * The Node's CPU Manager Policy is configured as `static`.
11- * The Pods are in the `Guaranteed` QoS class.
12-
13- When the above conditions are met, Topology Manager will align CPU
14- and device requests for the Pod.
12+ ====
13+ Note: To align CPU resources with other requested resources in a Pod Spec, the CPU
14+ Manager should be enabled and the CPU Manager policy should be configured as `static`.
15+ ====
1516
1617Topology Manager supports 4 allocation policies. These policies are set via a Kubelet
1718flag, `--topology-manager-policy`. The policies are:
@@ -30,17 +31,17 @@ This is the default policy and does not perform any topology alignment.
3031[id="topology-manager-best-effort-policy_{context}"]
3132== best-effort policy
3233
33- For each container in a Guaranteed Pod with the best-effort topology
34- management policy, kublet calls each Hint Provider to discover their resource
34+ For each container in a Pod with the best-effort topology
35+ management policy, kubelet calls each Hint Provider to discover their resource
3536availability. Using this information, the Topology Manager stores the
3637preferred NUMA Node affinity for that container. If the affinity is not
3738preferred, Topology Manager will store this and admit the pod to the node anyway.
3839
3940[id="topology-manager-restricted-policy_{context}"]
4041== restricted policy
4142
42- For each container in a Guaranteed Pod with the restricted topology
43- management policy, kublet calls each Hint Provider to discover their resource
43+ For each container in a Pod with the restricted topology
44+ management policy, kubelet calls each Hint Provider to discover their resource
4445availability. Using this information, the Topology Manager stores the
4546preferred NUMA Node affinity for that container. If the affinity is not
4647preferred, Topology Manager will reject this pod from the node. This will
@@ -49,8 +50,8 @@ result in a pod in a Terminated state with a pod admission failure.
4950[id="topology-manager-single-numa-node_{context}"]
5051== single-numa-node
5152
52- For each container in a Guaranteed Pod with the single-numa-node topology
53- management policy, kublet calls each Hint Provider to discover their resource availability.
53+ For each container in a Pod with the single-numa-node topology
54+ management policy, kubelet calls each Hint Provider to discover their resource availability.
5455Using this information, the Topology Manager determines if a single NUMA Node
5556affinity is possible. If it is, the pod will be admitted to the node.
5657If this is not possible then the Topology Manager will reject the pod
0 commit comments