Make thanos available via NodePort, add replica label and remove ingress for Prometheus

This commit is contained in:
2023-11-09 09:05:47 +01:00
parent 925969170b
commit cbd79ff130
+3 -22
View File
@@ -20,6 +20,7 @@ kube-prometheus-stack:
replicas: &replicas 1 replicas: &replicas 1
retention: 6h retention: 6h
disableCompaction: true disableCompaction: true
replicaExternalLabelName: prometheus_replica
storageSpec: storageSpec:
volumeClaimTemplate: volumeClaimTemplate:
spec: spec:
@@ -33,31 +34,11 @@ kube-prometheus-stack:
existingSecret: existingSecret:
key: thanos.yaml key: thanos.yaml
name: thanos-object-storage-config 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: thanosServiceMonitor:
enabled: true enabled: true
thanosService: thanosServiceExternal:
enabled: true enabled: true
ingress: type: NodePort
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
kubeControllerManager: kubeControllerManager:
endpoints: endpoints:
- 10.0.0.4 - 10.0.0.4