Skip to content

Commit

Permalink
Add PR job for CAPZ load test running a set K8s version (no custom bu…
Browse files Browse the repository at this point in the history
…ild)
  • Loading branch information
Jont828 committed Oct 29, 2024
1 parent 5a01846 commit 192ccaf
Showing 1 changed file with 93 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -845,3 +845,96 @@ presubmits:
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-scalability-100-node-k8s-main
- name: pull-cluster-api-provider-azure-load-test-k8s
cluster: eks-prow-build-cluster
decorate: true
decoration_config:
timeout: 8h
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
always_run: false
optional: true
labels:
preset-dind-enabled: "true"
preset-kind-volume-mounts: "true"
preset-azure-community: "true"
branches:
- ^main$
extra_refs:
- org: kubernetes-sigs
repo: cloud-provider-azure
base_ref: master
path_alias: sigs.k8s.io/cloud-provider-azure
- org: Jont828
repo: perf-tests
base_ref: "cl2-namespace-fix-original"
path_alias: "k8s.io/perf-tests"
spec:
serviceAccountName: azure
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20241021-d3a4913879-master
command:
- runner.sh
- ./scripts/ci-entrypoint.sh
args:
- bash
- -c
- >-
sleep 300 &&
cd ${GOPATH}/src/k8s.io/perf-tests/ &&
./run-e2e.sh cluster-loader2
--nodes=100 \
--provider=aks \
--testconfig=testing/load/config.yaml \
--testconfig=testing/huge-service/config.yaml \
--testconfig=testing/access-tokens/config.yaml \
--testoverrides=./testing/experiments/enable_restart_count_check.yaml \
--testoverrides=./testing/experiments/use_simple_latency_query.yaml \
--testoverrides=./testing/overrides/load_throughput.yaml \
--report-dir=${ARTIFACTS}
--v=2
securityContext:
privileged: true
env:
# CAPZ variables
- name: WINDOWS
value: "false"
- name: CLUSTER_TEMPLATE
value: "templates/test/ci/cluster-template-prow-load.yaml"
- name: KUBERNETES_VERSION
value: "v1.28.3"
- name: AZURE_CONTROL_PLANE_MACHINE_TYPE
value: "Standard_D64s_v3"
- name: AZURE_NODE_MACHINE_TYPE
value: "Standard_D8s_v3"
- name: NODE_MACHINE_TYPE
value: "Standard_D8s_v3"
- name: TEST_WINDOWS
value: "false"
- name: "CONTROL_PLANE_MACHINE_COUNT"
value: "5"
- name: WINDOWS_WORKER_MACHINE_COUNT
value: "0" # Don't create windows workers
- name: WORKER_MACHINE_COUNT
value: "100"
# From google cl2
- name: CL2_ENABLE_DNS_PROGRAMMING
value: "true"
- name: CL2_SCHEDULER_THROUGHPUT_THRESHOLD
value: "0"
- name: CL2_ENABLE_API_AVAILABILITY_MEASUREMENT
value: "true"
- name: CL2_API_AVAILABILITY_PERCENTAGE_THRESHOLD
value: "99.5"
# Don't install Azure disk CSI driver as it's installed using a HelmChartProxy
- name: DEPLOY_AZURE_CSI_DRIVER
value: "false"
resources:
requests:
cpu: "4"
memory: "9Gi"
limits:
cpu: "4"
memory: "9Gi"
annotations:
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-azure
testgrid-tab-name: capz-pr-scalability-100-node-k8s-version

0 comments on commit 192ccaf

Please sign in to comment.