We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd25805 commit 5ad7436Copy full SHA for 5ad7436
e2e/scripts/check-airgap-post-ha-state.sh
@@ -71,7 +71,13 @@ main() {
71
# scale up the second deployment to ensure that images can still be pulled
72
echo "scaling up the 'second' deployment to ensure that images can still be pulled"
73
kubectl scale -n "$APP_NAMESPACE" deployment/second --replicas=4
74
- sleep 5
+ echo "waiting for the second deployment to scale up"
75
+ for _ in {1..60}; do
76
+ if kubectl get pods -n "$APP_NAMESPACE" -o wide | grep -q "second-"; then
77
+ break
78
+ fi
79
+ sleep 1
80
+ done
81
echo "after 5 seconds, pods in the '$APP_NAMESPACE' namespace:"
82
kubectl get pods -n "$APP_NAMESPACE" -o wide
83
if ! wait_for_pods_running 60; then
0 commit comments