acorn-io / runtime

A simple application deployment framework built on Kubernetes
https://docs.acorn.io/
Apache License 2.0
1.14k stars 102 forks source link

fix: use limit for calculating quota memory usage #2449

Closed tylerslaton closed 5 months ago

tylerslaton commented 5 months ago

This PR switches quota requests to calculate memory usage based on the limit as opposed to the request. This allows for apps using a compute-classes with the requestScaler field to get quota'd for what they asked for instead of what they actually get.

Checklist