From afc80a8ed6160186a0f855395e76e8ef03afb136 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 6 Nov 2023 22:43:42 +0100 Subject: [PATCH] Enable thanos sidecar and volume claims --- argocd/prometheus/test/argocd_values.yaml | 34 +++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/argocd/prometheus/test/argocd_values.yaml b/argocd/prometheus/test/argocd_values.yaml index fd3ee69..d11e9d7 100644 --- a/argocd/prometheus/test/argocd_values.yaml +++ b/argocd/prometheus/test/argocd_values.yaml @@ -9,6 +9,36 @@ kube-prometheus-stack: enabled: false prometheus: + prometheusSpec: + retention: 6h + disableCompaction: true + storageSpec: + volumeClaimTemplate: + spec: + storageClassName: hcloud-volumes + accessModes: [ "ReadWriteOnce" ] + resources: + requests: + storage: 10Gi + selector: {} + thanos: + objectStorageConfig: + existingSecret: + key: thanos.yaml + name: thanos-object-storage-config + thanosIngress: + enabled: true + ingressClassName: public + hosts: + - thanos.prometheus.k8s.test.2martens.de + tls: + - secretName: thanos-gateway-tls + hosts: + - thanos.prometheus.k8s.test.2martens.de + thanosServiceMonitor: + enabled: true + thanosService: + enabled: true ingress: enabled: true ingressClassName: public @@ -22,7 +52,7 @@ kube-prometheus-stack: - prometheus.k8s.test.2martens.de kubeControllerManager: endpoints: - - 10.0.0.2 + - 10.0.0.4 kubeScheduler: endpoints: - - 10.0.0.2 + - 10.0.0.4