mirror of https://github.com/kubernetes/kops.git
Add support for control plane size, template, and skipping e2e to upgrade scenario
This commit is contained in:
parent
0973246b04
commit
6a364fa18c
|
|
@ -59,10 +59,14 @@ else
|
|||
KOPS="${KOPS_A}"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
${KUBETEST2} \
|
||||
--up \
|
||||
--kops-binary-path="${KOPS_A}" \
|
||||
--kubernetes-version="${K8S_VERSION_A}" \
|
||||
--control-plane-size="${KOPS_CONTROL_PLANE_SIZE:-1}" \
|
||||
--template-path="${KOPS_TEMPLATE:-}" \
|
||||
--create-args="--networking calico"
|
||||
|
||||
# Export kubeconfig-a
|
||||
|
|
@ -107,6 +111,10 @@ cp "${KOPS_B}" "${WORKSPACE}/kops"
|
|||
|
||||
"${KOPS_B}" export kubecfg --name "${CLUSTER_NAME}" --admin
|
||||
|
||||
if [[ -z ${KOPS_SKIP_E2E:-} ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
${KUBETEST2} \
|
||||
--cloud-provider="${CLOUD_PROVIDER}" \
|
||||
--kops-binary-path="${KOPS}" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue