Perbaiki PVC yang tertunda Kubernetes


If you're using Microk8s, you have to enable storage before you can start a PersistentVolumeClaim successfully.

Just do:

microk8s.enable storage
You'll need to delete your deployment and start again.

You may also need to manually delete the "pending" PersistentVolumeClaims because I found that uninstalling the Helm chart which created them didn't clear the PVCs out.

You can do this by first finding a list of names:

kubectl get pvc --all-namespaces
then deleting each name with:

kubectl delete pvc name1 name2 etc...
Once storage is enabled, reapplying your deployment should get things going.
DreamCoder