gardener / autoscaler

Customised fork of cluster-autoscaler to support machine-controller-manager
Apache License 2.0
16 stars 25 forks source link

Add logging and monitoring in case we have minimum memory recommendations #322

Closed plkokanov closed 3 months ago

plkokanov commented 3 months ago

What this PR does / why we need it: This PR re-adds additional logging in case the vpa-recommender provides memory recommendations lower than the minimum from #299. In addition it limits the logging only when the recommendation is done for memory and adds a counter metric when such an event occurs so we can track how many times such recommendations are done for each vpa object.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

Add a counter metric which can be used to track how many times lower than minimum memory recommendations have been done by the `vpa-recommender`. The full name of the metric is `vpa_quality_lower_than_min_recommendation_count`.