FEAT(thanos): add Thanos for Prometheus HA
- Add Thanos Query, Store Gateway, Compactor - Enable Prometheus Sidecar with S3 (MinIO) storage - Configure OCI registry for Bitnami chart - Fix Vault secret path and image settings - Add nodeSelector for master node
This commit is contained in:
@@ -8,7 +8,7 @@ metadata:
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://charts.bitnami.com/bitnami
|
||||
- repoURL: registry-1.docker.io/bitnamicharts
|
||||
chart: thanos
|
||||
targetRevision: 17.3.1
|
||||
helm:
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
# - Store Gateway: reads historical data from MinIO
|
||||
# - Compactor: compacts and downsamples data in MinIO
|
||||
|
||||
# Use quay.io image to avoid Docker Hub rate limits
|
||||
image:
|
||||
registry: quay.io
|
||||
repository: thanos/thanos
|
||||
tag: v0.37.2
|
||||
|
||||
# Object storage configuration (MinIO S3)
|
||||
# Uses secret created by ExternalSecret
|
||||
existingObjstoreSecret: thanos-objstore-secret
|
||||
@@ -24,9 +30,8 @@ query:
|
||||
sidecarsService: prometheus-kube-prometheus-thanos-discovery
|
||||
sidecarsNamespace: prometheus
|
||||
|
||||
# Store endpoints for historical data
|
||||
stores:
|
||||
- dnssrv+_grpc._tcp.thanos-storegateway.thanos.svc.cluster.local
|
||||
# Store endpoints - chart automatically adds storegateway
|
||||
# No need to specify manually
|
||||
|
||||
# Deduplication settings
|
||||
extraFlags:
|
||||
|
||||
@@ -24,9 +24,9 @@ spec:
|
||||
data:
|
||||
- secretKey: access_key
|
||||
remoteRef:
|
||||
key: secret/minio
|
||||
property: root-user
|
||||
key: minio
|
||||
property: ROOT_USER
|
||||
- secretKey: secret_key
|
||||
remoteRef:
|
||||
key: secret/minio
|
||||
property: root-password
|
||||
key: minio
|
||||
property: ROOT_PASSWORD
|
||||
|
||||
Reference in New Issue
Block a user