mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/thanos] Add support to configurable replica label (#5512)
Co-authored-by: Guilherme Souza <guilhermef@users.noreply.github.com>
This commit is contained in:
@@ -74,7 +74,7 @@ spec:
|
||||
- --receive.replication-factor=1
|
||||
- --objstore.config=$(OBJSTORE_CONFIG)
|
||||
- --tsdb.path=/var/thanos/receive
|
||||
- --label=replica="$(NAME)"
|
||||
- --label={{ .Values.receive.replicaLabel }}="$(NAME)"
|
||||
- --label=receive="true"
|
||||
- --tsdb.retention=15d
|
||||
- --receive.local-endpoint=127.0.0.1:10901
|
||||
|
||||
@@ -93,9 +93,9 @@ spec:
|
||||
{{- if and $query.enabled .Values.ruler.dnsDiscovery.enabled }}
|
||||
- --query=dnssrv+_http._tcp.{{ include "common.names.fullname" . }}-query.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }}
|
||||
{{- end }}
|
||||
- --label=replica="$(POD_NAME)"
|
||||
- --label={{ .Values.ruler.replicaLabel }}="$(POD_NAME)"
|
||||
- --label=ruler_cluster="{{ .Values.ruler.clusterName }}"
|
||||
- --alert.label-drop=replica
|
||||
- --alert.label-drop={{ .Values.ruler.replicaLabel }}
|
||||
- --objstore.config-file=/conf/objstore/objstore.yml
|
||||
- --rule-file=/conf/rules/ruler.yml
|
||||
{{- range .Values.ruler.queries }}
|
||||
|
||||
Reference in New Issue
Block a user