aboutsummaryrefslogtreecommitdiff
path: root/deploy/kubernetes/seaweedfs-csi.yaml
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2025-12-06 12:21:55 -0800
committerChris Lu <chrislusf@users.noreply.github.com>2025-12-06 18:53:22 -0800
commit96363f76727a96809a8641d5d2e9d991bcba0c04 (patch)
tree8f0e4caf185d7923e6359d9ecaa57b467f4053f7 /deploy/kubernetes/seaweedfs-csi.yaml
parent5091b184a6af51728e939b938a0b42845960ebc5 (diff)
downloadseaweedfs-csi-driver-96363f76727a96809a8641d5d2e9d991bcba0c04.tar.xz
seaweedfs-csi-driver-96363f76727a96809a8641d5d2e9d991bcba0c04.zip
fix: address gemini review - OnDelete strategy and log invalid endpoint
- Change seaweedfs-mount DaemonSet updateStrategy from RollingUpdate to OnDelete in seaweedfs-csi.yaml for consistency with values.yaml (safer for active mounts) - Add warning log when invalid mountEndpoint is provided to aid debugging
Diffstat (limited to 'deploy/kubernetes/seaweedfs-csi.yaml')
-rw-r--r--deploy/kubernetes/seaweedfs-csi.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy/kubernetes/seaweedfs-csi.yaml b/deploy/kubernetes/seaweedfs-csi.yaml
index 9fb140b..41062e1 100644
--- a/deploy/kubernetes/seaweedfs-csi.yaml
+++ b/deploy/kubernetes/seaweedfs-csi.yaml
@@ -356,10 +356,10 @@ spec:
selector:
matchLabels:
app: seaweedfs-mount
+ # Use OnDelete strategy since mount service is not yet resilient to its own restarts.
+ # This allows manual, controlled updates to prevent automated disruption of active mounts.
updateStrategy:
- type: RollingUpdate
- rollingUpdate:
- maxUnavailable: 25%
+ type: OnDelete
template:
metadata:
labels: