robusta-dev / krr

Prometheus-based Kubernetes Resource Recommendations
MIT License
3.05k stars 160 forks source link

RAM request/limit per percentile #365

Open mwilfried opened 3 days ago

mwilfried commented 3 days ago

Hello

I'm using KRR 1.5

I have a workload that sometimes have some memory spikes, That's why I would prefer to use the percentile calculation mode to estimate the values of the RAM request (I don't set limits)

How is it possible to update the RAM calculation method through a parameter of configuration file.

Do you have an example ?

Thx you

aantn commented 2 days ago

Hi @mwilfried, it isn't possible today with KRR. If you'd like to open a PR adding support for this, we'd be happy to review.