Detach disks when turning a node off
Not sure if this is possible, but it could be a solution for cosmos2#1131.
If a shutdown command is issued in the machine running your Kubernetes cluster, maybe some information is forwarded to the storage driver as well, so it can detach the storage?
Typically a different Kubernetes node would take over the pods that need this storage, so it will need to be attached somewhere else.