Kubernetes- Persistant volumes

12/25/2019

I am trying to deploy Postgresql through helm on microk8s, but pod keeps pending showing pod has unbound immediate PersistentVolumeClaims error.

I tried creating pvc and a storageclass inside it, and editing it but all keeps pending.

Does anyone know whats holding the pvc claiming pv?

enter image description here

-- Mohammad Hussein
kubernetes
kubernetes-pvc
persistent-volumes
postgresql

1 Answer

12/25/2019

on the 'PVC' it shows 'no persistent volumes available for this claim and no storage class is set' Error

This means that you have to prepare PersistentVolumes for your platform that can be used by your PersistentVolumeClaims (e.g. with correct StorageClass or other requirements)

-- Jonas
Source: StackOverflow