File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
ci-operator/templates/openshift/installer Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,12 @@ objects:
497497 workers=0
498498 fi
499499 if [[ "${CLUSTER_TYPE}" = "aws" ]]; then
500+ master_type=null
501+ if [[ "${CLUSTER_VARIANT}" =~ "xlarge" ]]; then
502+ master_type=m5.8xlarge
503+ elif [[ "${CLUSTER_VARIANT}" =~ "large" ]]; then
504+ master_type=m5.4xlarge
505+ fi
500506 subnets="[]"
501507 if [[ "${CLUSTER_VARIANT}" =~ "shared-vpc" ]]; then
502508 case $((RANDOM % 4)) in
@@ -518,6 +524,7 @@ objects:
518524 replicas: 3
519525 platform:
520526 aws:
527+ type: ${master_type}
521528 zones:
522529 - us-east-1a
523530 - us-east-1b
@@ -588,7 +595,7 @@ objects:
588595 EOF
589596 elif [[ "${CLUSTER_TYPE}" == "gcp" ]]; then
590597 # HACK: try to "poke" the token endpoint before the test starts
591- for i in ` seq 1 30` ; do
598+ for i in $( seq 1 30) ; do
592599 code="$( curl -s -o /dev/null -w "%{http_code}" https://oauth2.googleapis.com/token -X POST -d '' )"
593600 if [[ "${code}" == "400" ]]; then
594601 break
Original file line number Diff line number Diff line change @@ -357,6 +357,12 @@ objects:
357357 workers=0
358358 fi
359359 if [[ "${CLUSTER_TYPE}" == "aws" ]]; then
360+ master_type=null
361+ if [[ "${CLUSTER_VARIANT}" =~ "xlarge" ]]; then
362+ master_type=m5.8xlarge
363+ elif [[ "${CLUSTER_VARIANT}" =~ "large" ]]; then
364+ master_type=m5.4xlarge
365+ fi
360366 subnets="[]"
361367 if [[ "${CLUSTER_VARIANT}" =~ "shared-vpc" ]]; then
362368 case $((RANDOM % 4)) in
@@ -378,6 +384,7 @@ objects:
378384 replicas: 3
379385 platform:
380386 aws:
387+ type: ${master_type}
381388 zones:
382389 - us-east-1a
383390 - us-east-1b
You can’t perform that action at this time.
0 commit comments