From 1b7f8f540ea8d1fe27b069e4550575086dcddde7 Mon Sep 17 00:00:00 2001 From: Quinton Hoole Date: Wed, 7 Oct 2015 16:09:12 -0700 Subject: [PATCH] Bring up a 4000 node kubemark cluster in Jenkins. This is a bit of a hack of the existing scripts, but the quickest way to get this cluster up. Will restructure e2e.sh to do this in a more sane way in a separate PR. --- cluster/kubemark/config-default.sh | 2 +- hack/jenkins/e2e.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/cluster/kubemark/config-default.sh b/cluster/kubemark/config-default.sh index 559260ed5a0..d456c5bc1de 100644 --- a/cluster/kubemark/config-default.sh +++ b/cluster/kubemark/config-default.sh @@ -22,7 +22,7 @@ GCLOUD=gcloud ZONE=${KUBE_GCE_ZONE:-us-central1-b} MASTER_SIZE=${MASTER_SIZE:-n1-standard-4} -NUM_MINIONS=${NUM_MINIONS:-100} +NUM_MINIONS=${NUM_MINIONS:-4000} MASTER_DISK_TYPE=pd-ssd MASTER_DISK_SIZE=${MASTER_DISK_SIZE:-20GB} REGISTER_MASTER_KUBELET=${REGISTER_MASTER:-false} diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 45035764b42..f19f09ec9ce 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -645,6 +645,21 @@ case ${JOB_NAME} in : ${USE_KUBEMARK:="true"} : ${NUM_MINIONS:="10"} ;; + + kubernetes-kubemark-gce-scale) + : ${E2E_CLUSTER_NAME:="kubernetes-kubemark-scale"} + : ${E2E_NETWORK:="kubernetes-kubemark-scale"} + : ${PROJECT:="kubernetes-scale"} + : ${E2E_UP:="true"} + : ${E2E_DOWN:="true"} + : ${E2E_TEST:="false"} + : ${USE_KUBEMARK:="true"} + : ${NUM_MINIONS:="40"} + : ${MASTER_SIZE:="n1-standard-32"} # Note: not available in all zones + : ${MINION_SIZE="n1-standard-16"} # Note: can fit about 17 hollow nodes per core + # so NUM_MINIONS x cores_per_minion should + # be set accordingly. + ;; esac # AWS variables