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 2e780595f..eb19ed672 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