[bitnami/thanos] Querier allow multiple replica labels (#3682)

Signed-off-by: Andrey Voronkov <voronkovaa@gmail.com>
This commit is contained in:
Andrey Voronkov
2020-09-16 16:28:06 +03:00
committed by GitHub
parent f2d8deff84
commit 0e2351f89c
5 changed files with 10 additions and 4 deletions

View File

@@ -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

View File

@@ -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) |

View File

@@ -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 }}

View File

@@ -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
##

View File

@@ -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
##