I'm trying to deploy Hono into my private Kubernetes cluster but I'm facing a problem with the Prometheus-Server container. I have tried with minikube and it runs perfectly but when I'm trying to deploy it in my real-world cluster I have this problem.
I raised up an issue in Github and it came out that I have a problem with my persistent volume configuration. Here is the link to the issue :
LinkI edited my PV yaml file as follow, but still having the same issue:
-------------------------------------------------------------------------------------------------------
apiVersion: v1
kind: PersistentVolume
metadata:
name: my-local-pv
spec:
capacity:
storage: 8Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Delete
storageClassName: local
volumeMode: Filesystem
hostPath:
path: /mnt/data/prometheus-server
---------------------------------------------------------------------------------------------------------
I would be grateful if anyone who has experience in this topic can help me.
Best regards,
Rouhollah