mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
Merge pull request #21430 from spxtr/e2e-internal
Auto commit by PR queue bot
This commit is contained in:
@@ -1192,7 +1192,7 @@ function test-build-release {
|
||||
}
|
||||
|
||||
# Execute prior to running tests to initialize required structure. This is
|
||||
# called from hack/e2e.go only when running -up (it is run after kube-up).
|
||||
# called from hack/e2e.go only when running -up.
|
||||
#
|
||||
# Assumed vars:
|
||||
# Variables from config.sh
|
||||
@@ -1200,6 +1200,16 @@ function test-setup {
|
||||
# Detect the project into $PROJECT if it isn't set
|
||||
detect-project
|
||||
|
||||
if [[ ${MULTIZONE:-} == "true" ]]; then
|
||||
for KUBE_GCE_ZONE in ${E2E_ZONES}
|
||||
do
|
||||
KUBE_GCE_ZONE="${KUBE_GCE_ZONE}" KUBE_USE_EXISTING_MASTER="${KUBE_USE_EXISTING_MASTER:-}" "${KUBE_ROOT}/cluster/kube-up.sh"
|
||||
KUBE_USE_EXISTING_MASTER="true" # For subsequent zones we use the existing master
|
||||
done
|
||||
else
|
||||
"${KUBE_ROOT}/cluster/kube-up.sh"
|
||||
fi
|
||||
|
||||
# Open up port 80 & 8080 so common containers on minions can be reached
|
||||
# TODO(roberthbailey): Remove this once we are no longer relying on hostPorts.
|
||||
local start=`date +%s`
|
||||
|
Reference in New Issue
Block a user