Update thanos sidecar and store config
This commit is contained in:
parent
1afef4726f
commit
a747f04036
@ -15,7 +15,7 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.2.5
|
||||
version: 0.2.6
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
|
@ -7,6 +7,10 @@ metadata:
|
||||
app.kubernetes.io/name: prometheus
|
||||
name: prometheus
|
||||
spec:
|
||||
{{- if .Values.query.enabled }}
|
||||
thanos:
|
||||
image: quay.io/thanos/thanos:v0.32.3
|
||||
{{- end }}
|
||||
scrapeInterval: 60s
|
||||
serviceAccountName: prometheus-{{ .Values.user }}
|
||||
serviceMonitorNamespaceSelector:
|
||||
|
@ -25,10 +25,8 @@ spec:
|
||||
- --query.replica-label=thanos_ruler_replica
|
||||
- --endpoint=prometheus-operated.{{ .Values.user }}-monitoring.svc.cluster.local:10901
|
||||
- --endpoint=thanos-ruler-operated.{{ .Values.user }}-monitoring.svc.cluster.local:10901
|
||||
- --endpoint=kube-prometheus-stack-thanos-discovery.svc.cluster.local:10901
|
||||
- --endpoint=dnssrv+_grpc.kube-prometheus-stack-thanos-discovery.monitoring.svc.cluster.local
|
||||
- --endpoint=dnssrv+_grpc._tcp.kube-prometheus-stack-thanos-discovery.monitoring.svc.cluster.local
|
||||
- --endpoint=dnssrv+prometheus-operated.monitoring.svc.cluster.local
|
||||
- --store=dnssrv+prometheus-operated.{{ .Values.user }}-monitoring.svc.cluster.local
|
||||
- --store=dnssrv+_web._tcp.prometheus-operated.{{ .Values.user }}-monitoring.svc.cluster.local
|
||||
- --store=dnssrv+_grpc._tcp.kube-prometheus-stack-thanos-discovery.monitoring.svc.cluster.local
|
||||
- --store.unhealthy-timeout=3d
|
||||
image: quay.io/thanos/thanos:v0.32.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user