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 8a73122 commit 48d0239Copy full SHA for 48d0239
scripts/wait-deployment.sh
@@ -19,7 +19,7 @@ DEFAULT_REQUIRED_COUNT=1
19
REQUIRED_COUNT=${3:-${DEFAULT_REQUIRED_COUNT}}
20
DEFAULT_TIMEOUT=300
21
TIMEOUT=${4:-${DEFAULT_TIMEOUT}}
22
-echo "Waiting for deployment $DEPLOYMENT. Timeout in $TIMEOUT seconds"
+echo "Waiting for deployment $DEPLOYMENT. Expecting $REQUIRED_COUNT replicas. Timeout in $TIMEOUT seconds"
23
CUNNRENT_COUNT=$(kubectl get deployment/$DEPLOYMENT -n $NAMESPACE -o=jsonpath='{.status.availableReplicas}')
24
if [ $? -ne 0 ]; then
25
echo "An error occurred. Exiting"
0 commit comments