How much storage required for InfluxDB

influxdb

#1

Hi Team,
I have a doubt on the InfluxDB volume storage. Hope someone can help me.
We are using Heapster + InfluxDB + Grafana stack in Kubernetes for monitoring our pods. Currently InfluxDB using ephemeral volume to store this data. This causing InfluxDB pod to lose the data when the pod is removed. So we like to attach a Volume for InfluxDB. But I’m not sure about how much disk space I need to allocate for storage. Can someone have idea about how much storage need to allocate for InfluxDB ? Is there any way we can calculate this value ?


#2

I am sure this is not exactly what you are looking for. But should give you some idea on how to calculate.

https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects

Also, if you make use of the RetentionPolicy and CQs, you will get the better output.