Update update-demo example and e2e test to use kubectl

This commit is contained in:
Jeff Lowdermlk
2015-01-16 13:22:55 -08:00
committed by Jeff Lowdermilk
parent 6e98ce34ca
commit c912b831ce
11 changed files with 93 additions and 32 deletions

View File

@@ -21,8 +21,8 @@ set -o pipefail
NEW_SIZE=${1:-4}
export KUBE_REPO_ROOT=${KUBE_REPO_ROOT-$(dirname $0)/../..}
export KUBECFG=${KUBECFG-$KUBE_REPO_ROOT/cluster/kubecfg.sh}
export KUBECTL=${KUBECTL-$KUBE_REPO_ROOT/cluster/kubectl.sh}
set -x
$KUBECFG resize update-demo $NEW_SIZE
$KUBECTL resize rc update-demo-nautilus --replicas=$NEW_SIZE