diff --git a/examples/deploy/ocm/install.sh b/examples/deploy/ocm/install.sh index f79353934..87006a8c2 100755 --- a/examples/deploy/ocm/install.sh +++ b/examples/deploy/ocm/install.sh @@ -54,14 +54,14 @@ for i in {1..7}; do done for i in {1..7}; do - echo "############$i Checking klusterlet-registration-agent" - RUNNING_POD=$($KUBECTL -n open-cluster-management-agent get pods | grep klusterlet-registration-agent | grep -c "Running") + echo "############$i Checking klusterlet-agent" + RUNNING_POD=$($KUBECTL -n open-cluster-management-agent get pods | grep klusterlet-agent | grep -c "Running") if [ ${RUNNING_POD} -ge 1 ]; then break fi if [ $i -eq 7 ]; then - echo "!!!!!!!!!! the klusterlet-registration-agent is not ready within 3 minutes" + echo "!!!!!!!!!! the klusterlet-agent is not ready within 3 minutes" $KUBECTL -n open-cluster-management-agent get pods exit 1 fi