Skip to content

Commit

Permalink
EVEREST-107 feature build - wait for the VS server to start
Browse files Browse the repository at this point in the history
  • Loading branch information
recharte committed Jan 19, 2025
1 parent 2dcb4e4 commit 7b74dca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dev/fb/vs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ kubectl apply -f vs_deploy.yaml > /dev/null
# wait until the VS is ready
kubectl wait --for=jsonpath='{.status.readyReplicas}'=3 deployment/percona-version-service > /dev/null

# VS doesn't have a readiness probe, so we need to wait a bit for the server to start
sleep 5

# get the internal IP of the VS
echo "$(kubectl get service percona-version-service -o jsonpath='{.spec.clusterIP}')"
exit 0

0 comments on commit 7b74dca

Please sign in to comment.