diff --git a/update-demo/1-run-web-proxy.sh b/update-demo/1-run-web-proxy.sh index d92ab8ba..c6f45a85 100755 --- a/update-demo/1-run-web-proxy.sh +++ b/update-demo/1-run-web-proxy.sh @@ -25,7 +25,7 @@ echo " http://localhost:8001/static/" echo export KUBE_ROOT=$(dirname $0)/../.. -export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh +export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh set -x diff --git a/update-demo/2-create-replication-controller.sh b/update-demo/2-create-replication-controller.sh index e7037989..1f9c0d01 100755 --- a/update-demo/2-create-replication-controller.sh +++ b/update-demo/2-create-replication-controller.sh @@ -23,11 +23,11 @@ if [[ "${DOCKER_HUB_USER+set}" != "set" ]] ; then exit 1 fi -export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..} -export KUBECTL=${KUBE_REPO_ROOT}/cluster/kubectl.sh +export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..} +export KUBECTL=${KUBE_ROOT}/cluster/kubectl.sh set -x -SCHEMA=${KUBE_REPO_ROOT}/examples/update-demo/nautilus-rc.yaml +SCHEMA=${KUBE_ROOT}/examples/update-demo/nautilus-rc.yaml cat ${SCHEMA} | sed "s/DOCKER_HUB_USER/${DOCKER_HUB_USER}/" | ${KUBECTL} create -f - diff --git a/update-demo/3-scale.sh b/update-demo/3-scale.sh index 6c2aa65e..4123d362 100755 --- a/update-demo/3-scale.sh +++ b/update-demo/3-scale.sh @@ -20,8 +20,8 @@ set -o pipefail NEW_SIZE=${1:-4} -export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..} -export KUBECTL=${KUBECTL-$KUBE_REPO_ROOT/cluster/kubectl.sh} +export KUBE_ROOT=${KUBE_ROOT-$(dirname $0)/../..} +export KUBECTL=${KUBECTL-$KUBE_ROOT/cluster/kubectl.sh} set -x