From 81dd36af52335c8951f99aa71237f997a0594642 Mon Sep 17 00:00:00 2001 From: Gurminder Sunner Date: Wed, 13 Feb 2019 14:01:16 +0000 Subject: [PATCH] update terminal session for demo --- examples/cicd-argocd/create-demo-tmux-session | 2 +- examples/cicd-argocd/seldon-core/watch-calls | 2 +- examples/cicd-argocd/watch-cluster-pods | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/cicd-argocd/create-demo-tmux-session b/examples/cicd-argocd/create-demo-tmux-session index 303cd1c2c1..71fd4831d1 100755 --- a/examples/cicd-argocd/create-demo-tmux-session +++ b/examples/cicd-argocd/create-demo-tmux-session @@ -51,7 +51,7 @@ create_new_dash_window() { # watch cluster tmux select-pane -t 0 - tmux send-keys "${STARTUP_DIR}/watch-cluster" C-m + tmux send-keys "${STARTUP_DIR}/watch-cluster-pods" C-m # show jenkins logs tmux select-pane -t 1 diff --git a/examples/cicd-argocd/seldon-core/watch-calls b/examples/cicd-argocd/seldon-core/watch-calls index ed96c500f5..d068926dc7 100755 --- a/examples/cicd-argocd/seldon-core/watch-calls +++ b/examples/cicd-argocd/seldon-core/watch-calls @@ -6,5 +6,5 @@ set -o pipefail STARTUP_DIR="$( cd "$( dirname "$0" )" && pwd )" -watch -n 1 "${STARTUP_DIR}/do-rest-request-LOCALHOST.py" +watch -t -n 1 "echo 'Every 1s: Watching Prediction call result' && echo '' && ${STARTUP_DIR}/do-rest-request-LOCALHOST.py" diff --git a/examples/cicd-argocd/watch-cluster-pods b/examples/cicd-argocd/watch-cluster-pods index 486906714c..9f2e0a586b 100755 --- a/examples/cicd-argocd/watch-cluster-pods +++ b/examples/cicd-argocd/watch-cluster-pods @@ -12,5 +12,5 @@ source ${STARTUP_DIR}/settings.sh KUBECTL="kubectl --context=${KUBE_CONTEXT}" -watch "${KUBECTL} get pods -n default" +watch -t -n 1 "echo 'Every 1s: Watching Pods in default namespace' && echo '' && ${KUBECTL} get pods -n default"