File tree Expand file tree Collapse file tree
tests/e2e/scenarios/scalability Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ func (b *FirewallModelBuilder) Build(c *fi.CloudupModelBuilderContext) error {
149149 if b .NetworkingIsCalico () {
150150 t .Allowed = append (t .Allowed , "ipip" )
151151 t .Allowed = append (t .Allowed , fmt .Sprintf ("tcp:%d" , wellknownports .BGP ))
152+ t .Allowed = append (t .Allowed , fmt .Sprintf ("tcp:%d" , wellknownports .KubeControllerManagerMetricsPort ))
153+ t .Allowed = append (t .Allowed , fmt .Sprintf ("tcp:%d" , wellknownports .KubeSchedulerMetricsPort ))
154+ t .Allowed = append (t .Allowed , fmt .Sprintf ("tcp:%d" , wellknownports .KubeProxyMetricsPort ))
155+ t .Allowed = append (t .Allowed , fmt .Sprintf ("tcp:%d" , wellknownports .EtcdMetricsPort ))
152156 }
153157 if b .NetworkingIsCilium () {
154158 t .Allowed = append (t .Allowed , fmt .Sprintf ("udp:%d" , wellknownports .VxlanUDP ))
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ KUBETEST2_ARGS+=("--pre-test-cmd=${REPO_ROOT}/tests/e2e/scenarios/scalability/pr
163163if [[ -n " ${KUBE_FEATURE_GATES:- } " ]]; then
164164 KUBETEST2_ARGS+=(" --kubernetes-feature-gates=${KUBE_FEATURE_GATES} " )
165165fi
166- if [[ " ${JOB_TYPE} " == " presubmit" && " ${REPO_OWNER} /${REPO_NAME} " == " kubernetes/kops" ]]; then
166+ if [[ " ${FORCE_BUILD_KOPS :- } " == " true " ]] || [[ " ${ JOB_TYPE}" == " presubmit" && " ${REPO_OWNER} /${REPO_NAME} " == " kubernetes/kops" ]]; then
167167 KUBETEST2_ARGS+=(" --build" )
168168 KUBETEST2_ARGS+=(" --kops-binary-path=${GOPATH} /src/k8s.io/kops/.build/dist/linux/$( go env GOARCH) /kops" )
169169elif [[ " ${JOB_TYPE} " == " presubmit" && " ${REPO_OWNER} /${REPO_NAME} " == " kubernetes/kubernetes" ]]; then
@@ -184,6 +184,9 @@ if [[ "${CLOUD_PROVIDER}" == "gce" ]]; then
184184 else
185185 KUBETEST2_ARGS+=(" --boskos-resource-type=${BOSKOS_RESOURCE_TYPE:- scalability-project} " )
186186 fi
187+ if [[ -n " ${STAGE_LOCATION:- } " ]]; then
188+ KUBETEST2_ARGS+=(" --stage-location=${STAGE_LOCATION} " )
189+ fi
187190 KUBETEST2_ARGS+=(" --control-plane-instance-group-overrides=spec.rootVolume.type=hyperdisk-balanced" )
188191 KUBETEST2_ARGS+=(" --control-plane-instance-group-overrides=spec.rootVolume.iops=10000" )
189192 KUBETEST2_ARGS+=(" --control-plane-instance-group-overrides=spec.rootVolume.throughput=1000" )
You can’t perform that action at this time.
0 commit comments