Topology Manager

The Topology Manager incorporates data from the CPU Manager and other device plugins when making decisions about pod placement. Without topology manager, CPU Manager and Device Manager make decisions independently and this can result in pod placements that are undesirable.

PMK now supports configuration of Topology Manager. The following fields are added to the cluster create API of qbert:

JSON
Copy

The default value of the "cpuManagerPolicy" : "none" and will work for most applications.

When "cpuManagerPolicy": "static"turns on CPU Manager. This is required for Topology Manager to work.

Furthermore the "topologyManagerPolicy" supports the following options:

* none: Topology Manager is turned off

* best-effort: Kubelet uses hint providers to determine the best placement location for a pod. The pod is scheduled even if all affinity requirements are not met.

* restricted: Kubelet uses hint providers to determine the best placement location for a pod. The pod is terminated if such a node matching all affinity requirements are not met

* single-numa-node: Kubelet uses hint providers to find a single numa node that meets all affinity requirements. The pod is scheduled if such a node exists, it is moved to a terminated state otherwise. \

You can read more about these policies here.

"reservedCPUs" is a list of CPUs reserved for general purpose system use. Kubelet will not schedule pods to run on these CPUs.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated by Chris Jones
On This Page
Topology Manager