acorn-io / runtime

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

fix: use limit for calculating quota memory usage #2449

Closed tylerslaton closed 10 months ago

tylerslaton commented 10 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