Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: thanos-sidecars handle raw data within 3h #83

Merged
merged 1 commit into from
Jun 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lma/base/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ spec:
objectStorageConfig:
key: objstore.yml
name: TO_BE_FIXED # secret name
minTime: 2h
minTime: -3h
service:
nodePort: 30008
type: NodePort
Expand Down Expand Up @@ -1267,7 +1267,7 @@ spec:
access_key: TO_BE_FIXED
secret_key: TO_BE_FIXED
sidecarsService:
enabled: true
enabled: false
type: NodePort
nodePort: 30007
name: TO_BE_FIXED
Expand Down
6 changes: 4 additions & 2 deletions lma/base/site-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,16 @@ charts:
clusterDomain: $(clusterName)
existingObjstoreSecret: $(thanosObjstoreSecret)
query.nodeSelector: $(nodeSelector)
query.dnsDiscovery.sidecarsService: lma-thanos-discovery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sidecar service name이 lma-thanos-discovery로 생성되나요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 promehtues 챠트에서 생성합니다.

# query.stores:
# - lma-thanos-discovery.lma.svc.$(clusterName)
queryFrontend.nodeSelector: $(nodeSelector)
queryFrontend.service.type: NodePort
queryFrontend.service.http.nodePort: 30007
bucketweb.nodeSelector: $(nodeSelector)
compactor.nodeSelector: $(nodeSelector)
storegateway.nodeSelector: $(nodeSelector)
ruler.nodeSelector: $(nodeSelector)
ruler.nodeSelector: $(nodeSelector)

queryFrontend.config: |-
type: IN-MEMORY
Expand Down Expand Up @@ -249,7 +252,6 @@ charts:
minio.persistence.storageClass: $(storageClassName)
minio.persistence.accessMode: ReadWriteOnce
minio.persistence.size: 8Gi
query.dnsDiscovery.sidecarsService: thanos-sidecars

- name: thanos-config
override:
Expand Down