This commit is contained in:
Ubuntu 2026-02-17 21:32:55 +08:00
parent b64d90cab2
commit 56e0a39380
2 changed files with 3 additions and 4 deletions

View File

@ -36,8 +36,7 @@ spec:
readOnly: true readOnly: true
volumes: volumes:
- name: grafana-data-volume - name: grafana-data-volume
persistentVolumeClaim: emptyDir: {}
claimName: grafana-data-pvc
- name: timezone - name: timezone
hostPath: hostPath:
path: /usr/share/zoneinfo/Asia/Shanghai path: /usr/share/zoneinfo/Asia/Shanghai

View File

@ -9,4 +9,4 @@ spec:
- ReadWriteOnce - ReadWriteOnce
storageClassName: microk8s-hostpath storageClassName: microk8s-hostpath
hostPath: hostPath:
path: /var/snap/microk8s/common/mnt/data/grafana-data path: /tmp/grafana-data