Product SiteDocumentation Site

11.3. Allocation Details

11.3.1. Which node is preferred to get consumed first when allocating resources?

  • The node with the highest node weight gets consumed first. Node weight is a score maintained by the cluster to represent node health.
  • If multiple nodes have the same node weight:
    • If placement-strategy is default or utilization, the node that has the least number of allocated resources gets consumed first.
      • If their numbers of allocated resources are equal, the first eligible node listed in the CIB gets consumed first.
    • If placement-strategy is balanced, the node that has the most free capacity gets consumed first.
      • If the free capacities of the nodes are equal, the node that has the least number of allocated resources gets consumed first.
        • If their numbers of allocated resources are equal, the first eligible node listed in the CIB gets consumed first.
    • If placement-strategy is minimal, the first eligible node listed in the CIB gets consumed first.