From cbd79ff13017038cfb1f026edd855ce9bf668269 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 9 Nov 2023 09:05:47 +0100 Subject: [PATCH] Make thanos available via NodePort, add replica label and remove ingress for Prometheus --- argocd/prometheus/test/argocd_values.yaml | 25 +++-------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/argocd/prometheus/test/argocd_values.yaml b/argocd/prometheus/test/argocd_values.yaml index 625e684..fc8fc96 100644 --- a/argocd/prometheus/test/argocd_values.yaml +++ b/argocd/prometheus/test/argocd_values.yaml @@ -20,6 +20,7 @@ kube-prometheus-stack: replicas: &replicas 1 retention: 6h disableCompaction: true + replicaExternalLabelName: prometheus_replica storageSpec: volumeClaimTemplate: spec: @@ -33,31 +34,11 @@ kube-prometheus-stack: existingSecret: key: thanos.yaml name: thanos-object-storage-config - thanosIngress: - enabled: true - ingressClassName: public - pathType: Prefix - hosts: - - thanos.prometheus.k8s.test.2martens.de - tls: - - secretName: thanos-gateway-tls - hosts: - - thanos.prometheus.k8s.test.2martens.de thanosServiceMonitor: enabled: true - thanosService: + thanosServiceExternal: enabled: true - ingress: - enabled: true - ingressClassName: public - hosts: - - prometheus.k8s.test.2martens.de - annotations: - cert-manager.io/cluster-issuer: lets-encrypt - tls: - - secretName: prometheus-server-tls - hosts: - - prometheus.k8s.test.2martens.de + type: NodePort kubeControllerManager: endpoints: - 10.0.0.4