Horje
fix pvc pending kubernetes Code Example
fix pvc pending 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.




Shell

Related
npm install different version Code Example npm install different version Code Example
remove all files in a directory linux Code Example remove all files in a directory linux Code Example
kill apache Code Example kill apache Code Example
powershell on linux Code Example powershell on linux Code Example
create and run docker registry Code Example create and run docker registry Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7