From a10b8123f3b43ef0be8f0ec8bb15592a7fb46d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Sun, 30 Mar 2025 17:06:45 +0200 Subject: [PATCH] update prometheus url --- deploy/prometheus/deploy.jsonnet | 6 +++--- deploy/prometheus/manifests/prometheus-k8s-ingress.yaml | 4 ++-- deploy/prometheus/manifests/prometheus-prometheus.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deploy/prometheus/deploy.jsonnet b/deploy/prometheus/deploy.jsonnet index eae63ad..1ede903 100644 --- a/deploy/prometheus/deploy.jsonnet +++ b/deploy/prometheus/deploy.jsonnet @@ -13,7 +13,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') + { prometheus+:: { prometheus+: { spec+: { - externalUrl: 'https://monitoring.prod.panic.haus', + externalUrl: 'https://metrics.prod.panic.haus', retention: '30d', storage: { volumeClaimTemplate: { @@ -86,7 +86,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') + { 'prometheus-k8s', $.values.common.namespace, [{ - host: 'monitoring.prod.panic.haus', + host: 'metrics.prod.panic.haus', http: { paths: [{ path: '/', @@ -103,7 +103,7 @@ local kp = (import 'kube-prometheus/main.libsonnet') + { }, spec+: { tls: [{ - hosts: ['monitoring.prod.panic.haus'], + hosts: ['metrics.prod.panic.haus'], secretName: 'monitoring-tls', }], }, diff --git a/deploy/prometheus/manifests/prometheus-k8s-ingress.yaml b/deploy/prometheus/manifests/prometheus-k8s-ingress.yaml index a4cf90b..5f16c6f 100644 --- a/deploy/prometheus/manifests/prometheus-k8s-ingress.yaml +++ b/deploy/prometheus/manifests/prometheus-k8s-ingress.yaml @@ -8,7 +8,7 @@ metadata: spec: ingressClassName: nginx rules: - - host: monitoring.prod.panic.haus + - host: metrics.prod.panic.haus http: paths: - backend: @@ -20,5 +20,5 @@ spec: pathType: Prefix tls: - hosts: - - monitoring.prod.panic.haus + - metrics.prod.panic.haus secretName: monitoring-tls diff --git a/deploy/prometheus/manifests/prometheus-prometheus.yaml b/deploy/prometheus/manifests/prometheus-prometheus.yaml index e75e489..e5108c1 100644 --- a/deploy/prometheus/manifests/prometheus-prometheus.yaml +++ b/deploy/prometheus/manifests/prometheus-prometheus.yaml @@ -18,7 +18,7 @@ spec: port: web enableFeatures: [] externalLabels: {} - externalUrl: https://monitoring.prod.panic.haus + externalUrl: https://metrics.prod.panic.haus image: quay.io/prometheus/prometheus:v3.2.1 nodeSelector: kubernetes.io/os: linux