From 65ad5478e93b5ab16c046e4b1a56c5f1c102b5e2 Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Tue, 20 Aug 2024 07:09:58 +0200 Subject: [PATCH] Wait longer in example (#42) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b134af4..1a74278 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ It also optionally collects each pull attempt's duration and result. attempt=0 service="service/my-images-metrics" while [[ -z $(kubectl -n "${ns}" get "${service}" -o jsonpath="{.status.loadBalancer.ingress}" 2>/dev/null) ]]; do - if [ "$attempt" -lt "10" ]; then + if [ "$attempt" -lt "60" ]; then echo "Waiting for ${service} to obtain endpoint ..." ((attempt++)) sleep 10