Skip to content

Commit

Permalink
Use mixed instances for scale tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Sep 3, 2023
1 parent db8b0f3 commit 90cfb72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/e2e/scenarios/scalability/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ create_args+=("--set spec.kubeControllerManager.endpointSliceUpdatesBatchPeriod=
create_args+=("--node-count=${KUBE_NODE_COUNT:-101}")
# TODO: track failures of tests (HostPort & OIDC) when using `--dns=none`
create_args+=("--dns none")
create_args+=("--node-size=c6g.medium")
create_args+=("--node-size=c7g.medium,c6g.medium,m7g.medium,m6g.medium,r7g.medium,r6g.medium,t4g.medium")
create_args+=("--control-plane-count=${CONTROL_PLANE_COUNT:-1}")
create_args+=("--master-size=${CONTROL_PLANE_SIZE:-c6g.2xlarge}")
create_args+=("--zones=us-east-2a,us-east-2b,us-east-2c")
Expand Down Expand Up @@ -141,6 +141,8 @@ kubetest2 kops "${KUBETEST2_ARGS[@]}" \
KUBECONFIG=$(mktemp -t kubeconfig.XXXXXXXXX)
kops export kubecfg --admin --kubeconfig="${KUBECONFIG}"

kops get instances

if [[ "${RUN_CL2_TEST:-}" == "true" ]]; then
# CL2 uses KUBE_SSH_KEY_PATH path to ssh to instances for scraping metrics
export KUBE_SSH_KEY_PATH="/tmp/kops/${CLUSTER_NAME}/id_ed25519"
Expand Down

0 comments on commit 90cfb72

Please sign in to comment.