Open SilenceShine opened 5 months ago
@SilenceShine Thanks for opening the issue. Just to summarize, we'd need to remove the PVC and mount an emptyDir instead. This would require us to store metadata information on the pod instead of the PVC and essentially limit the lifetime of the workspace.
It's not the highest priority right now but if there's enough community interest we'll bump it up. Will leave this ticket open
Hello, I have the need to offer to my developpers the ability to use devpod to test the build of their app directly in our k8s cluster but I don't need or want persistent volume for that. The build should always be done in a freshly bootstrap environment.
A way around this would be to provide an option to automatically delete the pvc after pod deletion, is it yet possible ? If not, should I open a new ticket for this ?
Hey @LawiK974, DevPod automatically deletes the PVC if you delete the workspace. Is this enough for your use case?
for folks finding this issue, consider add the rancher local volume provisioner to your cluster to make things easier on yourself. devpod
isn't the first or last application that expects to use persistent volume claims to provision storage.
Whether it is necessary to need persistent volume or not to rely on storage