From dbbb78b2b17cc967ef27c45ee135651ce7eac51b Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 26 Jun 2024 23:01:58 +1000 Subject: [PATCH] update grafana volumes --- kubernetes/infrastructure/prometheus/app/deployment.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/kubernetes/infrastructure/prometheus/app/deployment.yaml b/kubernetes/infrastructure/prometheus/app/deployment.yaml index 7d06b54..e9e594f 100644 --- a/kubernetes/infrastructure/prometheus/app/deployment.yaml +++ b/kubernetes/infrastructure/prometheus/app/deployment.yaml @@ -48,8 +48,9 @@ spec: volumeMounts: - name: grafana-config-volume mountPath: /usr/share/grafana - - name: grafana-storage-volume + - name: prometheus-storage-volume mountPath: /var/lib/grafana + subPath: grafana volumes: - name: prometheus-config-volume hostPath: @@ -62,8 +63,4 @@ spec: - name: grafana-config-volume hostPath: path: /mnt/nfs/AppData/grafana/conf - type: Directory - - name: grafana-storage-volume - hostPath: - path: /mnt/nfs/AppData/grafana/storage type: Directory \ No newline at end of file