Open s4ke opened 1 year ago
according to https://github.com/moby/moby/blob/master/docs/cluster_volumes.md#taking-cluster-volumes-offline this should work once the volumes are unpublished. But how do they get unpublished from the nodes?
Not sure why but for some reason there is also force switch on that remove command. So far I have just done clean up by removing whole /var/lib/docker
folder because I excepted that some of those issues was related to fact that multiple same plugin was rebuild over and over again. On proper CI it will not be issue.
The force switch seems to bypass CSI though as it leaves my cloud volumes intact. This behaviour is useful though for example manual resizing.
To me it's still a bit unclear how to remove a volume after it has been used by a service. I managed to use the volume properly, removed the service, set the availability to drain, and still get this behaviour: