commit
b4eb1f3b52
13
README.md
13
README.md
@ -61,6 +61,19 @@ helm install --set seaweedfsFiler=<filerHost:port> seaweedfs-csi-driver ./seawee
|
|||||||
```bash
|
```bash
|
||||||
helm uninstall seaweedfs-csi-driver
|
helm uninstall seaweedfs-csi-driver
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Safe rollout 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 pod 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)
|
||||||
|
|
||||||
|
|||||||
@ -21,3 +21,4 @@
|
|||||||
.idea/
|
.idea/
|
||||||
*.tmproj
|
*.tmproj
|
||||||
.vscode/
|
.vscode/
|
||||||
|
.tgz
|
||||||
|
|||||||
@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: seaweedfs-csi-driver
|
name: seaweedfs-csi-driver
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
|
|||||||
@ -9,8 +9,7 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app: {{ template "seaweedfs-csi-driver.name" . }}-node
|
app: {{ template "seaweedfs-csi-driver.name" . }}-node
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
rollingUpdate:
|
{{ toYaml .Values.node.updateStrategy | nindent 4 }}
|
||||||
maxUnavailable: 25%
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@ -28,5 +28,12 @@ driverName: seaweedfs-csi-driver
|
|||||||
|
|
||||||
node:
|
node:
|
||||||
# Deploy node daemonset
|
# Deploy node daemonset
|
||||||
# for a smoother update it is better to use static pods on nodes
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# When pod on node be recreated all pod on same node lost PV.
|
||||||
|
# For safe update use updateStrategy.type: OnDelete and manual move pods who use PV and delete damonset pod
|
||||||
|
updateStrategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxUnavailable: 25%
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user