mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Export MINION_SIZE as MACHINE_TYPE for gke tests
This commit is contained in:
parent
dd9eabd5f2
commit
58c0830726
@ -701,6 +701,8 @@ case ${JOB_NAME} in
|
||||
: ${PROJECT:="k8s-jkns-e2e-gke-1-1-features"}
|
||||
: ${FAIL_ON_GCP_RESOURCE_LEAK:="true"}
|
||||
: ${GINKGO_TEST_ARGS:="--ginkgo.focus=GCE\sL7\sLoadBalancer\sController|Job|Horizontal\spod\sautoscaling"}
|
||||
# At least n1-standard-2 nodes are required for the cluster to
|
||||
# have enough cpu/ram to run the Horizontal pod autoscaling tests.
|
||||
MINION_SIZE="n1-standard-2"
|
||||
;;
|
||||
|
||||
@ -1360,6 +1362,7 @@ export KUBE_GKE_NETWORK=${E2E_NETWORK}
|
||||
export E2E_SET_CLUSTER_API_VERSION=${E2E_SET_CLUSTER_API_VERSION:-}
|
||||
export DOGFOOD_GCLOUD=${DOGFOOD_GCLOUD:-}
|
||||
export CMD_GROUP=${CMD_GROUP:-}
|
||||
export MACHINE_TYPE=${MINION_SIZE:-} # GKE scripts use MACHINE_TYPE for the node vm size
|
||||
|
||||
if [[ ! -z "${GKE_API_ENDPOINT:-}" ]]; then
|
||||
export CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER=${GKE_API_ENDPOINT}
|
||||
|
Loading…
Reference in New Issue
Block a user