From ba193177511c45ce9cf659cb86c569c9de587e7f Mon Sep 17 00:00:00 2001 From: Ustuzhanin Anton Date: Thu, 18 Feb 2021 00:42:52 +0500 Subject: [PATCH] feat: custom updateStrategy for deamonset --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f48d255..fa7b4f1 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,17 @@ helm install --set seaweedfsFiler= seaweedfs-csi-driver ./seawee ```bash 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 [Apache v2 license](https://www.apache.org/licenses/LICENSE-2.0)