From 609f1dc58b38032aac72c9742485b4fa41aa7ae7 Mon Sep 17 00:00:00 2001 From: Pinghao Wu Date: Mon, 3 Feb 2025 13:18:33 +0800 Subject: [PATCH] prometheus: readiness probe --- monitoring/prometheus/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/monitoring/prometheus/deployment.yaml b/monitoring/prometheus/deployment.yaml index 51aed45..93f2249 100644 --- a/monitoring/prometheus/deployment.yaml +++ b/monitoring/prometheus/deployment.yaml @@ -26,6 +26,10 @@ spec: ports: - name: metrics containerPort: 9090 + readinessProbe: + httpGet: + port: metrics + path: /-/healthy volumeMounts: - name: configs mountPath: /etc/prometheus -- 2.45.2