chore(cli): Adding log for restart
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
ecfa8af8cb
commit
ccb608298b
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue