update grafana volumes

This commit is contained in:
2024-06-26 22:47:26 +10:00
parent d77ca493bc
commit 3fcba505ed

View File

@@ -46,7 +46,10 @@ spec:
ports:
- containerPort: 3000
volumeMounts:
- name: prometheus-storage-volume
- name: grafana-config-volume
mountPath: /usr/share/grafana
subPath: grafana
- name: grafana-storage-volume
mountPath: /var/lib/grafana
subPath: grafana
volumes:
@@ -58,3 +61,11 @@ spec:
hostPath:
path: /mnt/nfs/AppData/prometheus/storage
type: Directory
- 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