mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Added e2e test for HA master that creates multizone workers.
Added e2e test for HA master that creates multizone workers.
This commit is contained in:
@@ -19,8 +19,17 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
|
||||
if [[ ! -z "${1:-}" ]]; then
|
||||
export KUBE_GCE_ZONE="${1}"
|
||||
fi
|
||||
export KUBE_REPLICATE_EXISTING_MASTER=true
|
||||
export MULTIZONE=true
|
||||
if [[ ! -z "${2:-}" ]]; then
|
||||
export MULTIZONE="${2}"
|
||||
fi
|
||||
if [[ ! -z "${3:-}" ]]; then
|
||||
export KUBE_REPLICATE_EXISTING_MASTER="${3}"
|
||||
fi
|
||||
if [[ ! -z "${4:-}" ]]; then
|
||||
export KUBE_USE_EXISTING_MASTER="${4}"
|
||||
fi
|
||||
if [[ -z "${NUM_NODES:-}" ]]; then
|
||||
export NUM_NODES=3
|
||||
fi
|
||||
|
||||
source "${KUBE_ROOT}/hack/e2e-internal/e2e-up.sh"
|
||||
|
@@ -22,7 +22,12 @@ fi
|
||||
if [[ ! -z "${2:-}" ]]; then
|
||||
export MULTIZONE="${2}"
|
||||
fi
|
||||
export KUBE_DELETE_NODES=false
|
||||
if [[ ! -z "${3:-}" ]]; then
|
||||
export KUBE_DELETE_NODES="${3}"
|
||||
fi
|
||||
if [[ ! -z "${4:-}" ]]; then
|
||||
export KUBE_USE_EXISTING_MASTER="${4}"
|
||||
fi
|
||||
|
||||
source "${KUBE_ROOT}/hack/e2e-internal/e2e-down.sh"
|
||||
|
Reference in New Issue
Block a user