Skip to content

Commit 51a2da1

Browse files
committed
Add job to run ClusterLoader2 load test on 100 node CAPZ cluster
1 parent 8a51fb6 commit 51a2da1

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
---
2+
periodics:
3+
- interval: 30m
4+
name: ci-kubernetes-e2e-azure-scalability
5+
cluster: eks-prow-build-cluster
6+
decorate: true
7+
decoration_config:
8+
timeout: 8h
9+
path_alias: k8s.io/perf-tests
10+
tags:
11+
- "perfDashPrefix: azure-100Nodes-master"
12+
- "perfDashJobType: performance"
13+
- "perfDashBuildsCount: 500"
14+
labels:
15+
preset-dind-enabled: "true"
16+
preset-kind-volume-mounts: "true"
17+
preset-capz-containerd-1-7-latest: "true"
18+
preset-azure-community: "true"
19+
extra_refs:
20+
- org: kubernetes
21+
repo: perf-tests
22+
base_ref: "master"
23+
path_alias: "k8s.io/perf-tests"
24+
- org: kubernetes-sigs
25+
repo: cluster-api-provider-azure
26+
base_ref: main # TODO: prow-load template is only on main ATM.
27+
path_alias: "sigs.k8s.io/cluster-api-provider-azure"
28+
workdir: true
29+
spec:
30+
serviceAccountName: azure
31+
containers:
32+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240803-cf1183f2db-master
33+
command:
34+
- runner.sh
35+
- ./scripts/ci-entrypoint.sh
36+
args:
37+
- bash
38+
- -c
39+
- >-
40+
cd ${GOPATH}/src/k8s.io/perf-tests/ &&
41+
./run-e2e.sh cluster-loader2
42+
--nodes=100 \
43+
--prometheus-scrape-kubelets=true \
44+
--prometheus-scrape-node-exporter \
45+
--provider=aks \
46+
--testconfig=testing/load/config.yaml \
47+
--testconfig=testing/huge-service/config.yaml \
48+
--testconfig=testing/access-tokens/config.yaml \
49+
--testoverrides=./testing/experiments/enable_restart_count_check.yaml \
50+
--testoverrides=./testing/experiments/use_simple_latency_query.yaml \
51+
--testoverrides=./testing/overrides/load_throughput.yaml \
52+
--v=2
53+
securityContext:
54+
privileged: true
55+
env:
56+
# CAPZ variables
57+
- name: CLUSTER_TEMPLATE
58+
value: "test/ci/cluster-template-prow-load.yaml"
59+
- name: NODE_MACHINE_TYPE
60+
value: "Standard_D16s_v3"
61+
- name: TEST_WINDOWS
62+
value: "false"
63+
- name: KUBERNETES_VERSION
64+
value: "v1.25.3"
65+
- name: WINDOWS_WORKER_MACHINE_COUNT
66+
value: "0" # Don't create windows workers
67+
- name: WORKER_MACHINE_COUNT
68+
value: "100"
69+
- name: CL2_POD_COUNT
70+
value: "10"
71+
# clusterloader2 variables
72+
- name: ENABLE_PROMETHEUS_SERVER
73+
value: "true"
74+
- name: PROMETHEUS_SCRAPE_APISERVER_ONLY
75+
value: "true"
76+
- name: PROMETHEUS_APISERVER_SCRAPE_PORT
77+
value: "6443"
78+
- name: PROMETHEUS_SCRAPE_WINDOWS_NODE_EXPORTER
79+
value: "true"
80+
- name: CL2_PROMETHEUS_TOLERATE_MASTER
81+
value: "true"
82+
# from google cl2
83+
- name: CL2_ENABLE_DNS_PROGRAMMING
84+
value: "true"
85+
- name: CL2_SCHEDULER_THROUGHPUT_THRESHOLD
86+
value: "0"
87+
- name: CL2_ENABLE_API_AVAILABILITY_MEASUREMENT
88+
value: "true"
89+
- name: CL2_API_AVAILABILITY_PERCENTAGE_THRESHOLD
90+
value: "99.5"
91+
# azuredisk variables - required for Prometheus PVC
92+
- name: DEPLOY_AZURE_CSI_DRIVER
93+
value: "true"
94+
- name: AZUREDISK_CSI_DRIVER_VERSION
95+
value: "master"
96+
- name: PROMETHEUS_STORAGE_CLASS_PROVISIONER
97+
value: "kubernetes.io/azure-disk"
98+
- name: PROMETHEUS_STORAGE_CLASS_VOLUME_TYPE
99+
value: "StandardSSD_LRS"
100+
resources:
101+
requests:
102+
cpu: "2"
103+
memory: "9Gi"
104+
limits:
105+
cpu: "2"
106+
memory: "9Gi"
107+
annotations:
108+
testgrid-dashboards: sig-scalability-azure
109+
testgrid-tab-name: azure-master-scalability-100
110+
description: "Run clusterloader2 load test on a 100 node CAPZ cluster"
111+
testgrid-num-columns-recent: '30'

0 commit comments

Comments
 (0)