kube-prometheus icon indicating copy to clipboard operation
kube-prometheus copied to clipboard

Decrease value of limit before "Namespace quota is going to be full.

Open PG2000 opened this issue 10 months ago • 1 comments

Hello,

as some experience of day to day problems with resource quotas it think it would make sense to decrease the default value to 0.75. for the warning alert.

https://github.com/prometheus-operator/kube-prometheus/blob/408f3863905f0f9ba1679592fd65a4d7793e7021/manifests/kubernetes-prometheusRule.yaml#L306

I often was informed by a team or user when this happens after they tried to restart an deployment, statefulset etc. and the alert has not be thrown as the limit was to high.

Same here:

https://github.com/prometheus-operator/kube-prometheus/blob/408f3863905f0f9ba1679592fd65a4d7793e7021/manifests/kubernetes-prometheusRule.yaml#L319

Could this ever happen that it will be exactly 1

So, what is your experience with this? If this makes sense i could provide a PR.

PG2000 avatar Apr 11 '24 14:04 PG2000