Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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.
Comment

PREVIOUS NEXT
Code Example
Shell :: cut powershell 
Shell :: command to build docker file 
Shell :: wc - l 
Shell :: powershell compare 
Shell :: mongodb version check 
Shell :: docker quickstart terminal windows 
Shell :: git local branch track remote 
Shell :: wifi driver 
Shell :: linux bash test connection to host and port 
Shell :: git update branch from master 
Shell :: Use R markdown in github README 
Shell :: git delete branches not on remote 
Shell :: kubernetes show all 
Shell :: how to register nuget repository powershell 
Shell :: install ripgrep windows 
Shell :: Rename git branch while working in the branch 
Shell :: clear pagespeed cache 
Shell :: how to prevent ubuntu sleeping when closing laptop 
Shell :: Redirect output from within the shell script 
Shell :: script delete files older than 
Shell :: powershell start job 
Shell :: bash replace beginning of string 
Shell :: window reset wifi cmd 
Shell :: powershell rename replace 
Shell :: install dvc in ubuntu 
Shell :: git rename other branch 
Shell :: linux grep regex return match 
Shell :: $(cat <<EOF 
Shell :: swagger editor locally 
Shell :: command to kill or terminate a process 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =