Skip to content

Commit

Permalink
Wait longer in example (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
porridge authored Aug 20, 2024
1 parent 81dcb78 commit 65ad547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65ad547

Please sign in to comment.