Skip to content

Commit

Permalink
fixing ingress controller wait logic
Browse files Browse the repository at this point in the history
  • Loading branch information
willyguggenheim committed Apr 30, 2021
1 parent 154ee7d commit 4e9bb13
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/kubify/cli/kubify
Original file line number Diff line number Diff line change
Expand Up @@ -1256,10 +1256,12 @@ $KUBECTL apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/mas
$KUBECTL wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
--timeout=90s || $KUBECTL wait --namespace ingress-nginx \
--timeout=90s || sleep 20
$KUBECTL wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
--timeout=90s || $KUBECTL wait --namespace ingress-nginx \
--timeout=90s || sleep 20
$KUBECTL wait --namespace ingress-nginx \
--for=condition=ready pod \
--selector=app.kubernetes.io/component=controller \
--timeout=90s
Expand Down

0 comments on commit 4e9bb13

Please sign in to comment.