Even if I null the s3 settings, the backend is trying to connect to a bucket and spams errors that it can’t find the credentials.
Questions:
Is there a way to simply use my Ceph storage instead of a cloud storage?
I’m a bit confused as to how the HA loki is working, there’s Read, Write and Backend, understandably Backend is meant to storage the logs, index them etc, and Write to simply do the writes.
My understanding is that I need Block storage solution for the Backend, and simply buffer the writes until the logs are written in the backend?
We also run Loki on premise and we have Ceph in use. For Ceph there’s a gateway daemon you can run that supports S3 compatible object storage with Ceph. We use this gateway for our Loki setup as well. An object storage for Loki is needed if you want to run it in HA mode (which you probably want).
However depending on your configuration regarding compression, you might want to tune this gateway accordingly and give it enough bandwidth to transmit the data.
None of the Loki components store permanent data. Both indices and chunks are written to object storage as permanent storage. The persistent volume is needed for only write and backend due to special needs (write needs it to store WAL logs, backend needs it to store delete marker files).