You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scheduler: feasibility check that memory_max fits in total
The `resource.memory_max` field is intended to allow memory oversubscription, so
we don't check it in the `AllocsFit` method where we're totalling up all the
request memory for all allocs on a node. But we never check that the value can
even fit in the maximum amount of memory on the node, which can result in
nonsensical placements.
When iterating nodes in the feasibility check phase, check that the `memory_max`
field doesn't exceed the total amount of memory on the node. Note that this
deliberately ignores over "reserved memory", as the feature is intended to allow
oversubscription.
Fixes: #26360
0 commit comments