loki fix
This commit is contained in:
@@ -36,6 +36,15 @@ singleBinary:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 1Gi
|
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:
|
read:
|
||||||
replicas: 0
|
replicas: 0
|
||||||
backend:
|
backend:
|
||||||
|
|||||||
Reference in New Issue
Block a user