Skip to content

Commit 48d0239

Browse files
committed
Print expected replicas
1 parent 8a73122 commit 48d0239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/wait-deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ DEFAULT_REQUIRED_COUNT=1
1919
REQUIRED_COUNT=${3:-${DEFAULT_REQUIRED_COUNT}}
2020
DEFAULT_TIMEOUT=300
2121
TIMEOUT=${4:-${DEFAULT_TIMEOUT}}
22-
echo "Waiting for deployment $DEPLOYMENT. Timeout in $TIMEOUT seconds"
22+
echo "Waiting for deployment $DEPLOYMENT. Expecting $REQUIRED_COUNT replicas. Timeout in $TIMEOUT seconds"
2323
CUNNRENT_COUNT=$(kubectl get deployment/$DEPLOYMENT -n $NAMESPACE -o=jsonpath='{.status.availableReplicas}')
2424
if [ $? -ne 0 ]; then
2525
echo "An error occurred. Exiting"

0 commit comments

Comments
 (0)