From c508d710e086f601471fe870214712dff7d47eca Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 15:43:52 +0800 Subject: [PATCH] add prod prom --- prod-upgrade/prom/prometheus.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prod-upgrade/prom/prometheus.yaml b/prod-upgrade/prom/prometheus.yaml index 58b465f..aa9bdd3 100644 --- a/prod-upgrade/prom/prometheus.yaml +++ b/prod-upgrade/prom/prometheus.yaml @@ -68,11 +68,10 @@ spec: image: prom/prometheus:v2.51.2 args: - --config.file=/etc/prometheus/prometheus.yaml - - --storage.tsdb.path=/etc/prometheus/data - --storage.tsdb.retention.time=15d volumeMounts: - name: prometheus - mountPath: /etc/prometheus/data + mountPath: /prometheus - name: prom-config mountPath: /etc/prometheus/prometheus.yaml subPath: prometheus.yaml