mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Make thanos available via NodePort, add replica label and remove ingress for Prometheus
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user