grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.81k stars 3.43k forks source link

Helm/loki singleBinary data wiped out after rollout restart even use S3 #10743

Open jindov opened 1 year ago

jindov commented 1 year ago

I deploy Loki single binary with replica = 1 in k8s. The storage is configure to use S3 and schema store use tsdb (as recommended). I don't use pvc on single binary pod. It work perfect, I can view log, but after I do rollout restart the pod, all data is wiped out. My question is, I configured S3 for storage, log should be persisted in object storage, does I need to have PVC for my deploy?

hainenber commented 1 year ago

Could you show some config for your deployment?