Skip to content

Commit

Permalink
Merge pull request #898 from spiffxp/k8s-infra-e2e-scale
Browse files Browse the repository at this point in the history
add e2e scale projects
  • Loading branch information
k8s-ci-robot authored May 27, 2020
2 parents 935c758 + b64d2b8 commit a6d5f6b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
image: gcr.io/k8s-prow/boskos/janitor:v20200422-8c8546d74
args:
- --boskos-url=http://boskos.test-pods.svc.cluster.local.
- --resource-type=k8s-infra-gce-project
- --resource-type=k8s-infra-gce-project,scalability-project
- --pool-size=20
- --
- --hours=0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
image: gcr.io/k8s-prow/boskos/reaper:v20200422-8c8546d74
args:
- --boskos-url=http://boskos.test-pods.svc.cluster.local.
- --resource-type=k8s-infra-gce-project
- --resource-type=k8s-infra-gce-project,scalability-project
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@ resources:
- k8s-infra-e2e-boskos-040
state: dirty
type: k8s-infra-gce-project
- names:
- k8s-infra-e2e-boskos-scale-01
- k8s-infra-e2e-boskos-scale-02
- k8s-infra-e2e-boskos-scale-03
- k8s-infra-e2e-boskos-scale-04
- k8s-infra-e2e-boskos-scale-05
state: dirty
type: scalability-project
22 changes: 20 additions & 2 deletions infra/gcp/ensure-e2e-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,35 @@ ensure_regional_address \

## setup projects to be used by e2e tests for standing up clusters

E2E_PROJECTS=(
E2E_MANUAL_PROJECTS=(
# for manual use during node-e2e job migration, eg: --gcp-project=k8s-infra-e2e-gce-project
k8s-infra-e2e-gce-project
# for manual use during job migration, eg: --gcp-project=k8s-infra-e2e-node-e2e-project
k8s-infra-e2e-node-e2e-project
# for manual use during job migration, eg: --gcp-projec=k8s-infra-e2e-scale-project
k8s-infra-e2e-scale-project
)

# general purpose e2e projects, no quota changes
E2E_BOSKOS_PROJECTS=()
for i in $(seq 1 40); do
E2E_PROJECTS+=($(printf "k8s-infra-e2e-boskos-%03i" $i))
E2E_BOSKOS_PROJECTS+=($(printf "k8s-infra-e2e-boskos-%03i" $i))
done

# e2e projects for scalability jobs
# - us-east1 cpu quota raised to 125
# - us-east1 in-use addresses quota raised to 125
E2E_SCALE_PROJECTS=()
for i in $(seq 1 5); do
E2E_SCALE_PROJECTS+=($(printf "k8s-infra-e2e-boskos-scale-%02i" $i))
done

E2E_PROJECTS=(
"${E2E_MANUAL_PROJECTS[@]}"
"${E2E_BOSKOS_PROJECTS[@]}"
"${E2E_SCALE_PROJECTS[@]}"
)

if [ $# = 0 ]; then
# default to all e2e projects
set -- "${E2E_PROJECTS[@]}"
Expand Down

0 comments on commit a6d5f6b

Please sign in to comment.