From 5720d30d2d38743711ae4b6ef53e319dc1491319 Mon Sep 17 00:00:00 2001 From: Danijel Simeunovic Date: Wed, 27 May 2026 21:51:24 +0200 Subject: [PATCH] loki fix --- infra/values/base/loki-values.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/infra/values/base/loki-values.yaml b/infra/values/base/loki-values.yaml index 3a5bd26..3903101 100644 --- a/infra/values/base/loki-values.yaml +++ b/infra/values/base/loki-values.yaml @@ -36,6 +36,15 @@ singleBinary: limits: cpu: 100m memory: 1Gi + # Temporary: clean up corrupted TSDB WAL so Loki can start. + # Remove this initContainer once Loki is healthy. + extraInitContainers: + - name: cleanup-corrupted-wal + image: busybox:1.36 + command: ['sh', '-c', 'rm -rf /var/loki/tsdb-shipper-active/wal || true'] + volumeMounts: + - name: storage + mountPath: /var/loki read: replicas: 0 backend: