mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
[bitnami/thanos] Querier allow multiple replica labels (#3682)
Signed-off-by: Andrey Voronkov <voronkovaa@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
@@ -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
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user