vino/tools/deployment/deploy-vino.sh
Thirunavukkarasu Palani eee4564441 ViNO: Integrate Node Labeler
ViNO will need to be able to get information about the
physical hosts and label the nodes appropriately. The target of this
change is to add the VM Bridge Interface IP address as a label.

Change-Id: I3bf9aeda5ec1d94c72906ce7011043decf5a3ec8
2021-02-23 22:27:40 +00:00

19 lines
552 B
Bash
Executable File

#!/bin/bash
set -xe
sudo snap install kustomize && sudo snap install go --classic
make docker-build-controller
make deploy
kubectl get po -A
#Wait for vino controller manager Pod.
count=0
until [[ $(kubectl -n vino-system get deployment -l control-plane=controller-manager 2>/dev/null) ]]; do
count=$((count + 1))
if [[ ${count} -eq "120" ]]; then
echo ' Timed out waiting for vino controller manager deployment to exist'
return 1
fi
sleep 2
done
kubectl -n vino-system rollout status deployment vino-controller-manager --timeout=240s