Hi everyone, is it currently possible to use Digital Ocean’s Spaces (or any other DO service) for storage with kubernetes cluster running on digital ocean?
I’d like to use rancher on production with DO droplets but I’m failing to find a good way to implement persistent volumes
Thanks for your solution, could you please tell me what happens when given PVC requests 5 gigabytes and it fills it up? will pod that’s using that PVC stop working because of insufficient disk space, will PVC increase its request quota to more gigabytes or maybe nothing happens once the limit is met?
Have you tested if the files written to the volume are still there after recreating or upgrading the pod that uses the volume?
I tested the csi-digitalocen driver with rancher 2.0.4 and after recreating or upgrading a deployment that uses the persistent volume the persistent volume was empty, all the files were lost, also the digitalocean block storage volume was also empty if the pod was removed and the volume detached.
I created an issue in the csi-digitalocean repository:
It’s the PVC example from the csi-digitalocean driver Readme, I also tried with the Retain reclaim policy but the same happened.
I tried the same setup in a cluster set up with Kontena Pharos and everything worked as expected so maybe it’s something specific to Rancher. That’s why I wanted to know if your setup is working correctly.
I was quickly testing yesterday to evaluate if I could move from AWS to DO. I checked again, and no I have the same problem. If I delete a pod or upgrade all data is lost. Sorry I should have checked that.