Moe
Moe

Reputation: 11

Kubernetes- Persistant volumes

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

Upvotes: 1

Views: 209

Answers (1)

Jonas
Jonas

Reputation: 129075

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)

Upvotes: 1

Related Questions