feat: custom updateStrategy for deamonset

This commit is contained in:
Ustuzhanin Anton 2021-02-18 00:42:52 +05:00
parent 1e8ca97f81
commit ba19317751
No known key found for this signature in database
GPG Key ID: D41880C7E7103E79

View File

@ -61,6 +61,17 @@ helm install --set seaweedfsFiler=<filerHost:port> seaweedfs-csi-driver ./seawee
```bash ```bash
helm uninstall seaweedfs-csi-driver helm uninstall seaweedfs-csi-driver
``` ```
# Safe rolling update
When update DaemonSet ( DS ) break processes who implements fuse mount. And now new pod not remount net device
For better safe update use ``node.updateStrategy.type: OnDelete`` in this need manual update. Steps:
- delete DS pods on node where no exists seaweefs PV
- cordon or taint node
- evict or delete pods with seaweedfs PV
- delete DS pos on node
- uncordon or remove taint on node
- repeat all steps on all nodes
# License # License
[Apache v2 license](https://www.apache.org/licenses/LICENSE-2.0) [Apache v2 license](https://www.apache.org/licenses/LICENSE-2.0)