chore(cli): Adding log for restart

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2023-03-28 15:49:57 +02:00
parent ecfa8af8cb
commit ccb608298b

View file

@ -351,8 +351,10 @@ do
;;
-r | --restart)
log title "Restarting OpenReplay Components"
kubectl rollout restart deployment -n "${APP_NS}"
kubectl rollout status deployment -n "${APP_NS}"
kubecolor rollout restart deployment -n "${APP_NS}"
log info "Waiting for restart to finish"
sleep 10
kubecolor rollout status deployment -n "${APP_NS}"
clean_tmp_dir
exit 0
;;