PV not deleting #202
-
After running these commands with your persistent volume names in them:
Did you run the commands to delete the persistent volumes again? Conda-store won't work if the persistent volumes are deleted. Once the volumes are deleted, redeploying in your github repo (with any kind of change to qhub-config) will create the volumes again |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Here is what I get:
However, still can't seem to delete the conda store PVC:
hangs and I have to CRTL-C it. And the pvc is still terminating:
|
Beta Was this translation helpful? Give feedback.
-
@jkellndorfer The first step is to get those pvcs to delete. We'll worry about the pods later (they'll never work while the pvc is still in a terminating state) I'd try manually deleting the PVC volumes for conda store (.... NOT SHARED VOLUME...) in the AWS console, and then following the same steps for deleting the pvc in kubernetes. I found some other solutions in stack overflow that all involve a similar patching of that "finalizer" metadata. https://stackoverflow.com/questions/51358856/kubernetes-cant-delete-persistentvolumeclaim-pvc I'm deploying a new qhub tonight, so I'll try to replicate the problem and see if I can get some more concrete solutions |
Beta Was this translation helpful? Give feedback.
-
@jkellndorfer Could you also list your persistent volume claims with To delete the claim, run |
Beta Was this translation helpful? Give feedback.
-
I'm closing old discussions in a repo cleanup effort. Feel free to re-open if needed. |
Beta Was this translation helpful? Give feedback.
@jkellndorfer The first step is to get those pvcs to delete. We'll worry about the pods later (they'll never work while the pvc is still in a terminating state)
I'd try manually deleting the PVC volumes for conda store (.... NOT SHARED VOLUME...) in the AWS console, and then following the same steps for deleting the pvc in kubernetes.
I found some other solutions in stack overflow that all involve a similar patching of that "finalizer" metadata. https://stackoverflow.com/questions/51358856/kubernetes-cant-delete-persistentvolumeclaim-pvc
I'm deploying a new qhub tonight, so I'll try to replicate the problem and see if I can get some more concrete solutions