better debugging of failed rollout
@@ -36,7 +36,13 @@ helm install \
# wait for helm deploy to come up
echo "waiting for pods to become ready"
-kubectl --namespace=$BINDER_TEST_NAMESPACE get deployment -o name | xargs -L1 kubectl --namespace=$BINDER_TEST_NAMESPACE rollout status --watch
+for i in {1..10}; do
+ kubectl get pod --all-namespaces
+ kubectl --namespace=$BINDER_TEST_NAMESPACE get deployment -o name | xargs -L1 kubectl --namespace=$BINDER_TEST_NAMESPACE rollout status && break
+ sleep 2
+done
+kubectl --namespace=$BINDER_TEST_NAMESPACE get deployment -o name | xargs -L1 kubectl --namespace=$BINDER_TEST_NAMESPACE rollout status
+
echo "waiting for servers to become responsive"
until curl --fail $BINDER_TEST_URL > /dev/null; do
