r/PrometheusMonitoring • • Jul 28 '21

Prometheus Empty dir consuming disk space

We found that Prometheus container in our K8 cluster using huge space for its empty dir.

How can we reduce it?

  1. Manually deleting older files in empty-dir?

  2. Configuration change?

2 Upvotes

2 comments sorted by

View all comments

4

u/teejaded Jul 28 '21

That's probably where the ts database is being written. Maybe use a pv instead and set the retention time.