I recently installed Loki using a Helm chart. Since I saw that use_thanos_objstore will become the default way to configure storage in a future release, I enabled it. However, as this seems to be a recent decision, there are still issues with the Helm chart.
Below are the information and issues I am facing:
Helm chart version: 6.27.0
Values:
deploymentMode: SimpleScalable
loki:
storage:
use_thanos_objstore: true
bucketNames:
chunks: dummy-value <--- I have to use this to prevent an error
object_store:
type: s3
prefix: null <---- this seems buggy and need to be removed
Pods:
loki-backend-0 1/2 CrashLoopBackOff 11 (2m4s ago) 33m
loki-chunks-cache-0 2/2 Running 0 33m
loki-read-84478d4bc5-srnqr 0/1 CrashLoopBackOff 11 (2m40s ago) 33m
loki-results-cache-0 2/2 Running 0 33m
loki-write-0 0/1 CrashLoopBackOff 11 (118s ago) 33m
Error logs:
failed parsing config: /etc/loki/config/config.yaml: yaml: unmarshal errors:
line 32: field prefix not found in type bucket.Config
line 92: field prefix not found in type rulestore.Config. Use `-config.expand-env=true` flag if you want to expand environment variables in your config file