From 192ccaf4441f18fa84134502b25994e6662bef93 Mon Sep 17 00:00:00 2001 From: Jont828 Date: Tue, 29 Oct 2024 13:17:07 -0400 Subject: [PATCH] Add PR job for CAPZ load test running a set K8s version (no custom build) --- ...er-api-provider-azure-presubmits-main.yaml | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/config/jobs/kubernetes-sigs/cluster-api-provider-azure/cluster-api-provider-azure-presubmits-main.yaml b/config/jobs/kubernetes-sigs/cluster-api-provider-azure/cluster-api-provider-azure-presubmits-main.yaml index cc2d0cbf047c..9f45b4b591fe 100644 --- a/config/jobs/kubernetes-sigs/cluster-api-provider-azure/cluster-api-provider-azure-presubmits-main.yaml +++ b/config/jobs/kubernetes-sigs/cluster-api-provider-azure/cluster-api-provider-azure-presubmits-main.yaml @@ -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