Skip to content

Commit

Permalink
TACODEV-847: uniformed deployment for thanos
Browse files Browse the repository at this point in the history
  • Loading branch information
sungil committed May 19, 2021
1 parent 596e0b9 commit 33abb25
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1107,6 +1107,7 @@ spec:
sidecarsService: TO_BE_FIXED
sidecarsNamespace: lma
queryFrontend:
enabled: false
nodeSelector: {}
service:
type: TO_BE_FIXED
Expand All @@ -1124,7 +1125,7 @@ spec:
# query-range.max-retries-per-request: TO_BE_FIXED
# query-frontend.log-queries-longer-than: TO_BE_FIXED
bucketweb:
enabled: true
enabled: TO_BE_FIXED
logLevel: info
refresh: 30m
timeout: 5m
Expand All @@ -1134,7 +1135,7 @@ spec:
http:
port: 8080
compactor:
enabled: true
enabled: TO_BE_FIXED
logLevel: info
retentionResolutionRaw: TO_BE_FIXED
retentionResolution5m: TO_BE_FIXED
Expand Down Expand Up @@ -1193,7 +1194,7 @@ spec:
# targetCPU: 50
# targetMemory: 50
ruler:
enabled: true
enabled: TO_BE_FIXED
logLevel: info
alertmanagers: [] # TO_BE_FIXED
evalInterval: 1m
Expand Down
4 changes: 4 additions & 0 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ global:
defaultPassword: password
defaultUser: taco
thanosObjstoreSecret: taco-objstore-secret
thanosPrimaryCluster: false

charts:
- name: prometheus-operator
Expand Down Expand Up @@ -193,6 +194,8 @@ charts:
- --query-range.max-retries-per-request=3
- --query-frontend.log-queries-longer-than=60s

bucketweb.enabled: $(thanosPrimaryCluster)
compactor.enabled: $(thanosPrimaryCluster)
compactor.retentionResolutionRaw: 30d
compactor.retentionResolution5m: 30d
compactor.retentionResolution1h: 10y
Expand All @@ -207,6 +210,7 @@ charts:
max_size: 250MB
max_item_size: 125MB
storegateway.persistence.size: 8Gi
ruler.enabled: $(thanosPrimaryCluster)
ruler.alertmanagers:
- http://fed-master-alertmanager:9093
ruler.config: |-
Expand Down

0 comments on commit 33abb25

Please sign in to comment.