armadaproject / armada

A multi-cluster batch queuing system for high-throughput workloads on Kubernetes.
https://armadaproject.io
Apache License 2.0
436 stars 128 forks source link

Allow Limits To Be Greater Than Requests #3748

Closed d80tb7 closed 2 weeks ago

d80tb7 commented 2 weeks ago

Initial implementation of allowing limits to be less than requests. This is controlled by a new MaxOversubscriptionByResourceRequest config flag that defines the maximum multiplier by which limits can be greater than requests on a per resource level. Default value is 1.0, so if no config is given the limits must be equal to requests.

Note that scheduling is still done using requests only, although I've removed the bit of code that sets limits equal to requests to save memory.