From 2dceb4ec43d352bb0423b6891657bdf52f3eed8c Mon Sep 17 00:00:00 2001 From: Jugwan Eom Date: Tue, 27 Apr 2021 02:09:26 +0000 Subject: [PATCH] lma: thanos: add store gateway configuration --- lma/base/resources.yaml | 7 ++++++- lma/base/site-values.yaml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lma/base/resources.yaml b/lma/base/resources.yaml index f3fedf5..e0330c2 100755 --- a/lma/base/resources.yaml +++ b/lma/base/resources.yaml @@ -1161,7 +1161,6 @@ spec: # external_labels: {cluster="eu1", receive="true", environment="production"} (2 streams, resulted in one) # external_labels: {cluster="us1", receive="true", environment="production"} # external_labels: {cluster="us1", receive="true", environment="staging"} - storegateway: enabled: true logLevel: info @@ -1172,11 +1171,17 @@ spec: port: 9090 grpc: port: 10901 + config: |- + type: IN-MEMORY + config: + max_size: TO_BE_FIXED + max_item_size: TO_BE_FIXED persistence: enabled: true accessModes: - ReadWriteOnce size: TO_BE_FIXED + replicaCount: 1 autoscaling: enabled: false # minReplicas: 1 diff --git a/lma/base/site-values.yaml b/lma/base/site-values.yaml index 659c304..2b03acb 100755 --- a/lma/base/site-values.yaml +++ b/lma/base/site-values.yaml @@ -201,6 +201,11 @@ charts: compactor.resources.limits.cpu: 1000m compactor.persistence.size: 8Gi compactor.extraFlags: + storegateway.config: |- + type: IN-MEMORY + config: + max_size: 250MB + max_item_size: 125MB storegateway.persistence.size: 8Gi ruler.alertmanagers: - http://fed-master-alertmanager:9093