influxdata-operator icon indicating copy to clipboard operation
influxdata-operator copied to clipboard

Backup data stay in kubernetes volume storage in /var/lib/influxdb/backup

Open ondrejFuchs opened this issue 6 years ago • 0 comments

We have influx docker in GKE and also infludata-operator. We save backup data of influx to Google storage by influx operator, but data also stay in persistant volume storage in influxdb and after while cause full disk.

We have data in storage, so we want to easy delete data in folder /var/lib/influxdb/backup.

If I add rm to this go script of influxdb operator, operator has no permission to delete data in this folder. What is the easiest way to delete this folder to not cause full disk?

Thanks for reply. Neuron soundware.

ondrejFuchs avatar Jun 13 '19 06:06 ondrejFuchs