From 177dc13e66433962489bff15858ac96d5069aaca Mon Sep 17 00:00:00 2001 From: ycz008 Date: Mon, 15 Apr 2024 15:47:30 +0800 Subject: [PATCH] add prod prom --- prod-upgrade/prom/prometheus.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prod-upgrade/prom/prometheus.yaml b/prod-upgrade/prom/prometheus.yaml index aa9bdd3..a2683f4 100644 --- a/prod-upgrade/prom/prometheus.yaml +++ b/prod-upgrade/prom/prometheus.yaml @@ -67,11 +67,11 @@ spec: - name: prometheus image: prom/prometheus:v2.51.2 args: - - --config.file=/etc/prometheus/prometheus.yaml - - --storage.tsdb.retention.time=15d + - --config.file=/etc/prometheus/prometheus.yaml + - --storage.tsdb.retention.time=15d volumeMounts: - name: prometheus - mountPath: /prometheus + mountPath: /prometheus/ - name: prom-config mountPath: /etc/prometheus/prometheus.yaml subPath: prometheus.yaml @@ -83,7 +83,7 @@ spec: volumes: - name: prometheus hostPath: - path: /data/prometheus/data + path: /data/prometheus/data/ - name: prom-config configMap: name: prom-config