From 18d7a6b4cb2978b6ed2c8e31246e254170d79c96 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Wed, 6 Mar 2024 11:34:15 +0100 Subject: [PATCH] or maybe like that? --- apps/monitoring/thanos.statefulset.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/monitoring/thanos.statefulset.yaml b/apps/monitoring/thanos.statefulset.yaml index 58aef23..3c0a67e 100644 --- a/apps/monitoring/thanos.statefulset.yaml +++ b/apps/monitoring/thanos.statefulset.yaml @@ -22,7 +22,7 @@ spec: args: - "store" - "--log.level=debug" - # - "--data-dir=/data" + - "--data-dir=/data" - "--objstore.config-file=/etc/secret/thanos.yaml" - "--index-cache-size=500MB" - "--chunk-pool-size=500MB" @@ -43,7 +43,11 @@ spec: - name: thanos-objstore-config mountPath: /etc/secret readOnly: true + - name: thanos-data + mountPath: /data volumes: - name: thanos-objstore-config secret: - secretName: thanos-objstore-config \ No newline at end of file + secretName: thanos-objstore-config + - name: thanos-data + emptyDir: {}