grafana / helm-charts

Apache License 2.0
1.67k stars 2.28k forks source link

Grafana Installation (Permissions Issue) #3009

Open saiben10 opened 8 months ago

saiben10 commented 8 months ago

Hello,

I am trying to deploy Grafana using helm chart in the onprem Kubernetes cluster. But we are getting read-only access what might be the issue. we are using static persistent volume claim for it. How to fix this?

Error → chown: /var/lib/grafana/.snapshot/hourly.2024-03-07_0900: Read-only file system chown: /var/lib/grafana/.snapshot/hourly.2024-03-07_0900: Resource temporarily unavailable chown: /var/lib/grafana/.snapshot: Read-only file system

FedericoAntoniazzi commented 3 months ago

Hi @saiben10, if you are using local volumes you have to make sure to match the permissions in the local directory and the ones assigned to your grafana pod.