File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -648,18 +648,18 @@ function setupVoyagerLoadBalancer {
648
648
# deploy Voyager Ingress resource
649
649
kubectl apply -f ${voyagerOutput}
650
650
651
- echo Checking Voyager deploy
651
+ echo Checking Voyager Ingress resource
652
652
local maxwaitsecs=100
653
653
local mstart=` date +%s`
654
654
while : ; do
655
655
local mnow=` date +%s`
656
- local vdep=` kubectl get deploy -n ${namespace} | grep ${domainUID} -voyager | wc | awk ' { print $1; } ' `
656
+ local vdep=` kubectl get ingresses.voyager.appscode.com -n ${namespace} | grep ${domainUID} -voyager | wc | awk ' { print $1; } ' `
657
657
if [ " $vdep " = " 1" ]; then
658
- echo ' The deployment ${domainUID}-voyager is created successful .'
658
+ echo ' The Voyager Ingress resource ${domainUID}-voyager is created successfully .'
659
659
break
660
660
fi
661
661
if [ $(( mnow - mstart)) -gt $(( maxwaitsecs)) ]; then
662
- fail " The deployment ${domainUID} -voyager was not created."
662
+ fail " The Voyager Ingress resource ${domainUID} -voyager was not created."
663
663
fi
664
664
sleep 5
665
665
done
@@ -671,7 +671,7 @@ function setupVoyagerLoadBalancer {
671
671
local mnow=` date +%s`
672
672
local vscv=` kubectl get service ${domainUID} -voyager-stats -n ${namespace} | grep ${domainUID} -voyager-stats | wc | awk ' { print $1; } ' `
673
673
if [ " $vscv " = " 1" ]; then
674
- echo ' The service ${domainUID}-voyager-stats is created successful .'
674
+ echo ' The service ${domainUID}-voyager-stats is created successfully .'
675
675
break
676
676
fi
677
677
if [ $(( mnow - mstart)) -gt $(( maxwaitsecs)) ]; then
You can’t perform that action at this time.
0 commit comments