Set default value for TEST_CLUSTER_LOG_LEVEL and KUBE_GCE_INSTANCE_PREFIX

This commit is contained in:
notpad 2019-11-21 23:26:24 +08:00
parent c97baa339b
commit 8b951edada

View File

@ -24,6 +24,11 @@
source "${KUBE_ROOT}/cluster/gce/config-common.sh" source "${KUBE_ROOT}/cluster/gce/config-common.sh"
CLEANUP_KUBEMARK_IMAGE=${CLEANUP_KUBEMARK_IMAGE:-true} CLEANUP_KUBEMARK_IMAGE=${CLEANUP_KUBEMARK_IMAGE:-true}
TEST_CLUSTER_LOG_LEVEL="${TEST_CLUSTER_LOG_LEVEL:-"--v=4"}"
# If you want to set up multiple kubemark clusters with different "names",
# you should change this env per each start-kubemark.sh invocation.
KUBE_GCE_INSTANCE_PREFIX="${KUBE_GCE_INSTANCE_PREFIX:-"default"}"
# NUM_NODES is used by start-kubemark.sh to determine a correct number of replicas. # NUM_NODES is used by start-kubemark.sh to determine a correct number of replicas.
NUM_NODES=${KUBEMARK_NUM_NODES:-10} NUM_NODES=${KUBEMARK_NUM_NODES:-10}