Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Do not fail immediately when running the post bucket hook (#10471)

Lukas Kallies23a7a509db69
diff --git a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml
index 2e780595f9..eb19ed672b 100644
--- a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml
@@ -103,7 +103,7 @@ spec:
echo "Waiting for service at $url..."
while [ $attempt -le $max_attempts ]; do
- if wget -q --spider "$url" >/dev/null 2>&1; then
+ if curl -sS -o /dev/null --max-time 5 "$url" >/dev/null 2>&1; then
echo "Service at $url is up!"
return 0
fi