mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 08:37:56 +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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user