Closed buholzer closed 4 years ago
You need to edit the retention parameter to the operator definition.
Check the line:
I have it set to just 5d and I am still getting this error, would switching my RPI 4 4GB from Raspbian to a 64 bit OS help (been meaning to do this for a while anyway....)
Yes, use 64bit OSs.
Prometheus crashes and fails to start after running for some time. It looks like the TSDB is getting too large and Prometheus can't allocate any memory anymore (mmap: cannot allocate memory).
% kubectl logs prometheus-k8s-0 -p prometheus
I have set the persistence settings to false in vars.jsonnet.
Is there an easy way to configure the TSDB retention behavior? https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects