Closed jmreicha closed 6 years ago
I just commented out/modified the references to persistent storage in manfiest/grafana-deployment.yml
and manifest/prometheus/prometheus-k8s/prometheus-k8.yaml
. Not ideal but works.
The deployments have persistent storage on a StorageClass that is default on my cluster. The claim is created by https://github.com/carlosedp/prometheus-operator-ARM/blob/master/manifests/grafana/grafana-claim.yaml that is mounted for each pod.
...
- name: grafana-storage
persistentVolumeClaim:
claimName: grafana-claim
To keep persistent storage, you need to adjust these manifests for your system, using the volumes on a shared server (NFS, etc) or creating a StorageClass like I do here: https://github.com/carlosedp/kubernetes-arm/tree/master/3-NFS_Storage
Thank you for the awesome project.
I ran the
./deploy
script but just have one issue trying to bring everything up. The prometheus-k8s-0 and grafana pods seem to be stuck pending.relevant kubectl get events -n monitoring
Any thoughts on what might be going on? I see that it wants a persistent volume, any way around that?