Memory Manager

399

The Kubernetes Memory Manager enables the feature of guaranteed memory (and hugepages) allocation for pods in the Guaranteed QoS class.

Stuff you wanna know:

  1. The Memory Manager employs hint generation protocol to yield the most suitable NUMA affinity for a pod.
  2. The Memory Manager feeds the central manager (Topology Manager) with affinity hints.
  3. The Memory Manager ensures that the memory which a pod requests is allocated from a minimum number of NUMA nodes.
  4. Memory Manager supports two policies. You can select a policy via a kubelet flag –memory-manager-policy — None (default) or Static.
  5. Memory Manager has an internal database, i.e. Node Map that incorporates Memory Maps. This database is used to keep track of the memory reserved for already deployed containers in Guaranteed QoS class.

More stuff: