mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
Fix kubemark master-size and num-nodes config
This commit is contained in:
parent
ffed1d3408
commit
fcd4a72f9a
1 changed files with 2 additions and 4 deletions
|
|
@ -24,10 +24,8 @@ source "${KUBE_ROOT}/cluster/gce/config-common.sh"
|
|||
GCLOUD=gcloud
|
||||
ZONE=${KUBE_GCE_ZONE:-us-central1-b}
|
||||
REGION=${ZONE%-*}
|
||||
# KUBEMARK_NUM_NODES overrides NUM_NODES if set
|
||||
NUM_NODES=${KUBEMARK_NUM_NODES:-${NUM_NODES:-10}}
|
||||
# KUBEMARK_MASTER_SIZE overrides MASTER_SIZE if set
|
||||
MASTER_SIZE=${KUBEMARK_MASTER_SIZE:-${MASTER_SIZE:-n1-standard-$(get-master-size)}}
|
||||
NUM_NODES=${KUBEMARK_NUM_NODES:-10}
|
||||
MASTER_SIZE=${KUBEMARK_MASTER_SIZE:-n1-standard-$(get-master-size)}
|
||||
MASTER_DISK_TYPE=pd-ssd
|
||||
MASTER_DISK_SIZE=${MASTER_DISK_SIZE:-20GB}
|
||||
MASTER_ROOT_DISK_SIZE=${KUBEMARK_MASTER_ROOT_DISK_SIZE:-10GB}
|
||||
|
|
|
|||
Loading…
Reference in a new issue