mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 20:57:20 +00:00
Update update-demo example and e2e test to use kubectl
This commit is contained in:
committed by
Jeff Lowdermilk
parent
6e98ce34ca
commit
c912b831ce
@@ -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
|
||||
|
Reference in New Issue
Block a user