diff options
| -rw-r--r-- | .github/workflows/integration_test.yaml | 12 | ||||
| -rw-r--r-- | deploy/helm/seaweedfs-csi-driver/values.yaml | 9 |
2 files changed, 12 insertions, 9 deletions
diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index bdd11a2..be9b78b 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -116,11 +116,13 @@ jobs: for i in {1..30}; do if kubectl exec -n seaweedfs deploy/seaweedfs -- wget -q -O- http://localhost:8888/; then echo "SeaweedFS filer is ready" - break + exit 0 fi echo "Waiting for filer... ($i/30)" sleep 2 done + echo "SeaweedFS filer did not become ready in time" + exit 1 - name: Deploy CSI Driver run: | @@ -132,11 +134,11 @@ jobs: sed 's|SEAWEEDFS_FILER:8888|seaweedfs.seaweedfs.svc.cluster.local:8888|g' | \ kubectl apply -f - - # Wait for CSI driver pods to be ready + # Wait for CSI driver pods to be ready (fail fast if they don't start) sleep 15 - kubectl wait --for=condition=ready pod -l app=seaweedfs-controller --timeout=120s || true - kubectl wait --for=condition=ready pod -l app=seaweedfs-node --timeout=120s || true - kubectl wait --for=condition=ready pod -l app=seaweedfs-mount --timeout=120s || true + kubectl wait --for=condition=ready pod -l app=seaweedfs-controller --timeout=120s + kubectl wait --for=condition=ready pod -l app=seaweedfs-node --timeout=120s + kubectl wait --for=condition=ready pod -l app=seaweedfs-mount --timeout=120s kubectl get pods -l 'app in (seaweedfs-controller,seaweedfs-node,seaweedfs-mount)' - name: Create StorageClass and test PVC diff --git a/deploy/helm/seaweedfs-csi-driver/values.yaml b/deploy/helm/seaweedfs-csi-driver/values.yaml index eed5b5e..8812228 100644 --- a/deploy/helm/seaweedfs-csi-driver/values.yaml +++ b/deploy/helm/seaweedfs-csi-driver/values.yaml @@ -71,15 +71,16 @@ seaweedfsCsiPlugin: add: ["SYS_ADMIN"] allowPrivilegeEscalation: true -# Mount Service Configuration +# Mount Service Configuration (opt-in feature) # The mount service runs as a separate DaemonSet to provide mount resilience. # When enabled, FUSE mounts survive CSI driver restarts/upgrades. # The node.mountEndpoint, node.mountSocketDir, and node.mountHostPath values # default to the corresponding mountService.* values when left empty. +# NOTE: Enabling this deploys an additional DaemonSet with privileged containers. mountService: - # Set to true (default) for mount resilience - mounts survive CSI driver restarts - # Set to false to disable the separate mount service (mounts managed by CSI driver directly) - enabled: true + # Set to true for mount resilience - mounts survive CSI driver restarts + # Set to false (default) to disable the separate mount service (mounts managed by CSI driver directly) + enabled: false image: chrislusf/seaweedfs-mount:dev # Endpoint for communication between CSI driver and mount service endpoint: unix:///var/lib/seaweedfs-mount/seaweedfs-mount.sock |
