diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index 12a8ed665..a9362c551 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 2.4.0 +version: 2.4.1 appVersion: 0.15.0 description: Thanos is a highly available metrics system that can be added on top of existing Prometheus deployments, providing a global query view across all Prometheus installations. engine: gotpl diff --git a/bitnami/thanos/README.md b/bitnami/thanos/README.md index d2972848f..42ae70772 100644 --- a/bitnami/thanos/README.md +++ b/bitnami/thanos/README.md @@ -112,7 +112,7 @@ The following tables lists the configurable parameters of the Thanos chart and t |-------------------------------------------------|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------| | `querier.enabled` | Enable/disable Thanos Querier component | `true` | | `querier.logLevel` | Thanos Querier log level | `info` | -| `querier.replicaLabel` | Replica indicator(s) along which data is deduplicated | `replica` | +| `querier.replicaLabel` | Replica indicator(s) along which data is deduplicated | `[replica]` | | `querier.dnsDiscovery.enabled` | Enable store APIs discovery via DNS | `true` | | `querier.dnsDiscovery.sidecarsService` | Sidecars service name to discover them using DNS discovery | `nil` (evaluated as a template) | | `querier.dnsDiscovery.sidecarsNamespace` | Sidecars namespace to discover them using DNS discovery | `nil` (evaluated as a template) | diff --git a/bitnami/thanos/templates/querier/deployment.yaml b/bitnami/thanos/templates/querier/deployment.yaml index 723b84984..5cce43cbf 100644 --- a/bitnami/thanos/templates/querier/deployment.yaml +++ b/bitnami/thanos/templates/querier/deployment.yaml @@ -57,7 +57,13 @@ spec: - --log.level={{ .Values.querier.logLevel }} - --grpc-address=0.0.0.0:10901 - --http-address=0.0.0.0:10902 + {{- if kindIs "string" .Values.querier.replicaLabel }} - --query.replica-label={{ .Values.querier.replicaLabel }} + {{- else }} + {{- range .Values.querier.replicaLabel }} + - --query.replica-label={{ . }} + {{- end }} + {{- end }} {{- if or (include "thanos.querier.createSDConfigmap" .) .Values.querier.existingSDConfigmap }} - --store.sd-files=/conf/servicediscovery.yml {{- end }} diff --git a/bitnami/thanos/values-production.yaml b/bitnami/thanos/values-production.yaml index 9560e3936..03b7a91db 100644 --- a/bitnami/thanos/values-production.yaml +++ b/bitnami/thanos/values-production.yaml @@ -74,7 +74,7 @@ querier: ## Labels to treat as a replica indicator along which data is deduplicated ## - replicaLabel: replica + replicaLabel: [replica] ## Dinamically configure store APIs using DNS discovery ## diff --git a/bitnami/thanos/values.yaml b/bitnami/thanos/values.yaml index a4fa8004b..a54a79c46 100644 --- a/bitnami/thanos/values.yaml +++ b/bitnami/thanos/values.yaml @@ -84,7 +84,7 @@ querier: ## Labels to treat as a replica indicator along which data is deduplicated ## - replicaLabel: replica + replicaLabel: [replica] ## Dynamically configure store APIs using DNS discovery ##