Skip to content

Commit

Permalink
feat(thanos): Updated dedupe logic (stevehipwell#838)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Hipwell <[email protected]>
  • Loading branch information
stevehipwell authored and timdeluxe committed Dec 13, 2023
1 parent eeb5aa8 commit 2bd9546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/thanos/templates/compact/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ spec:
- --data-dir=/var/thanos/compact
- --objstore.config-file=/etc/thanos/objstore.yaml
{{- if .Values.compact.deduplication.enabled }}
- --compact.enable-vertical-compaction
{{- range (concat .Values.additionalReplicaLabels (ternary (list "rule_replica") (list) .Values.rule.enabled ) (ternary (list "receive_replica") (list) .Values.receive.enabled )) | uniq }}
- --deduplication.replica-label={{ . }}
{{- end }}
Expand Down

0 comments on commit 2bd9546

Please sign in to comment.