Merge pull request #354 from 3dwardch3ng/infra/prometheus

update grafana volumes
This commit is contained in:
2024-06-26 23:02:20 +10:00
committed by GitHub

View File

@@ -48,8 +48,9 @@ spec:
volumeMounts: volumeMounts:
- name: grafana-config-volume - name: grafana-config-volume
mountPath: /usr/share/grafana mountPath: /usr/share/grafana
- name: grafana-storage-volume - name: prometheus-storage-volume
mountPath: /var/lib/grafana mountPath: /var/lib/grafana
subPath: grafana
volumes: volumes:
- name: prometheus-config-volume - name: prometheus-config-volume
hostPath: hostPath:
@@ -63,7 +64,3 @@ spec:
hostPath: hostPath:
path: /mnt/nfs/AppData/grafana/conf path: /mnt/nfs/AppData/grafana/conf
type: Directory type: Directory
- name: grafana-storage-volume
hostPath:
path: /mnt/nfs/AppData/grafana/storage
type: Directory