From 1726e6f1792be08d02e77bfd63ba76a35119e527 Mon Sep 17 00:00:00 2001 From: chrislusf Date: Sat, 6 Dec 2025 15:32:30 -0800 Subject: fix: add health probes to SeaweedFS deployment in integration test - Add readinessProbe for filer (httpGet on port 8888) - Add livenessProbe for master (httpGet on /cluster/healthz port 9333) - Increase wait timeout from 60s to 180s for deployment - Increase filer wait loop from 30 to 60 iterations (3s each) - Add pod status and logs output on failure for debugging Learned from SeaweedFS repo's e2e-mount.yml compose file which uses proper healthchecks for each service. --- .github/workflows/integration_test.yaml | 36 +++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration_test.yaml b/.github/workflows/integration_test.yaml index be9b78b..7983349 100644 --- a/.github/workflows/integration_test.yaml +++ b/.github/workflows/integration_test.yaml @@ -40,7 +40,7 @@ jobs: - name: Deploy SeaweedFS run: | - # Deploy SeaweedFS using a simple manifest + # Deploy SeaweedFS using a simple manifest with proper health checks kubectl apply -f - </dev/null; then echo "SeaweedFS filer is ready" exit 0 fi - echo "Waiting for filer... ($i/30)" - sleep 2 + echo "Waiting for filer... ($i/60)" + sleep 3 done echo "SeaweedFS filer did not become ready in time" + echo "=== Pod Status ===" + kubectl get pods -n seaweedfs -o wide + echo "=== Pod Logs ===" + kubectl logs -n seaweedfs -l app=seaweedfs --tail=100 exit 1 - name: Deploy CSI Driver -- cgit v1.2.3