Skip to content

Commit

Permalink
Merge pull request #63 from openinfradev/thanos_storegateway_configur…
Browse files Browse the repository at this point in the history
…ation

lma: thanos: add store gateway configuration
  • Loading branch information
Esther Kim authored Apr 30, 2021
2 parents ec21ab3 + 2dceb4e commit c12796b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c12796b

Please sign in to comment.