[Quick Hint] How to Restart vRealize Orchestrator 8.x

As we all know vRO 8 is now a pod in new vRA 8 deployment. In the past when i wanted to restart vRO service i had several options. VAMI on port :5480 had a restart button, commands service vco-server restart and service vco-configurator restart on cli console or in case of external vRO even VM restart 😉

Now all this tricks do not work anymore instead of this we can terminate and recreate vRO pods. I do it this way. From ssh console:

kubectl scale deployment orchestration-ui-app --replicas=0 -n prelude
kubectl scale deployment vco-app --replicas=0 -n prelude
sleep 120
kubectl scale deployment orchestration-ui-app --replicas=1 -n prelude
kubectl scale deployment vco-app --replicas=1 -n prelude

Now monitor till both pods will be fully recreated (3/3 and 1/1):

kubectl -n prelude get pods