Automatically map DO volumes even if cluster is recreated


I’m wondering if is possible to automatically reuse existing DO volumes when we recreate the cluster?

Let say that I have some Volumes already create via CSI and when I delete the cluster, Volumes remains. Now, when I create again the cluster I want to reuse those Volumes exactly how were used before. This means that when a new PVC is created then it should know to map to some Volumes fro DO. Does CSI currently support this type of functionalities?



Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Well, I did play with that but it seems that I should as well attach volume manually, which is not smth that I don’t want todo in a cluster as this depends on which node does have more disk.

Do you have any plans to add such functionality in the future? Doesn’t this seem simple to implement?


Hi there!

We currently dont support this type of functionality right out of the box but it is possible to accomplish. Maybe not as automatic as you would like but it is possible to reuse pv’s.


John Kwiatkoski Senior Developer Support Engineer