Skip to content

Commit 05f3a1a

Browse files
committed
Adding --objstore.config to thanos recieve ingestor, without this flag, it's not writing to minio or any object storage
Signed-off-by: Raj Babu Das <rajbabu.das@harness.io>
1 parent 4863995 commit 05f3a1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

manifests/thanos-receive-ingestor-default-statefulSet.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ spec:
7575
- --tsdb.retention=15d
7676
- --label=replica="$(NAME)"
7777
- --label=receive="true"
78+
- --objstore.config=$(OBJSTORE_CONFIG)
7879
- --receive.local-endpoint=$(NAME).thanos-receive-ingestor-default.$(NAMESPACE).svc.cluster.local:10901
7980
- --receive.hashrings-file=/var/lib/thanos-receive/hashrings.json
8081
env:
@@ -90,6 +91,11 @@ spec:
9091
valueFrom:
9192
fieldRef:
9293
fieldPath: status.hostIP
94+
- name: OBJSTORE_CONFIG
95+
valueFrom:
96+
secretKeyRef:
97+
key: thanos.yaml
98+
name: thanos-objectstorage
9399
image: quay.io/thanos/thanos:v0.31.0
94100
imagePullPolicy: IfNotPresent
95101
livenessProbe:

0 commit comments

Comments
 (0)