How to delete a k8s volume when a workspace is deleted?
I'm wondering if it would be possible to, in someway, have a volume connected to an Agent pod deleted, when a workspace is deleted? Currently, I'm not seeing how it can be done, other than manually, which is sort of silly and defeats the point of having a k8s cluster. Right?
I know I can set the
Does anyone have an idea how to handle this?
Scott
I know I can set the
persistent_volume_reclaim_policy to delete, however I believe that would delete the volume at the point the pod is removed and not the workspace itself in Coder. Does anyone have an idea how to handle this?
Scott