Open northonheld opened 6 months ago
@northonheld I think you'll want to remove the filesystem path overrides added here:
storageConfig:
tsdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/index_cache
The data volume is mounted at /var/loki
for ingester/index gateway
And the chart defaults this configuration to the correct values:
Thanks @wondersd, it worked. It seems this configuration is NOT valid for distributed mode.
tsdb_shipper:
active_index_directory: /data/tsdb-index
cache_location: /data/tsdb-cache
https://grafana.com/docs/loki/latest/operations/storage/tsdb/#example-configuration
At lease I am no longer having crashloopbackoff problem due to read-only issue.
Hello, even following the guidelines on how to configure S3 in the official documentation, Ingester is unable to communicate with the s3 bucket.
Chart version loki-distributed: 0.79.0
I used this doc link for these values:
I created the objects in AWS using Crossplane, based on the Terraform module officially provided at this link
I think created it correctly: Trust relationsships from role:
Policy Attachment:
I checked the annotation of the service account in eks and the annotation is correct: kubectl get sa/loki-eks-infra-loki-distributed -n loki -o yaml
And Statefulset ingester: kubectl get sts/loki-eks-infra-loki-distributed-ingester -n loki -o yaml
But I'm still getting this error in Ingester:
I can't figure out where my mistake lies. I followed all the guidelines in the official documentation. Why doesn't it work? Did I forget to enable something?
This is the current view of my pods