Kunde21 / moosefs-csi

Kubernetes CSI driver backed by moosefs
MIT License
10 stars 4 forks source link

Support transparent update/upgrade #7

Open Kunde21 opened 4 years ago

Kunde21 commented 4 years ago

With the tracking in place from issue #2, node drivers fetch existing mounts from controller and re-mount on startup.

When the CSI driver is updated or upgraded, all existing mounts fail (mfsmount binary is in the node driver container).
With tracked volumes, the node driver can get the mounted volume records from the controller and re-mount them on startup. Depending on the error handing in the running containers, the services could be recovered without restart.