Skip to content

Commit eabe57f

Browse files
committed
Add test for konnectivity agent autoscaler performance
Signed-off-by: Kartik Joshi <kartikjoshi@microsoft.com>
1 parent 524c438 commit eabe57f

File tree

3 files changed

+136
-0
lines changed

3 files changed

+136
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
trigger: none
2+
#schedules:
3+
#- cron: "0 2-23/4 * * *"
4+
# displayName: "Every 4 Hour"
5+
# branches:
6+
# include:
7+
# - main
8+
# always: true
9+
10+
variables:
11+
SCENARIO_TYPE: perf-eval
12+
SCENARIO_NAME: konnectivity-autoscale
13+
SCENARIO_VERSION: main
14+
15+
stages:
16+
- stage: azure_eastus2
17+
dependsOn: []
18+
jobs:
19+
- template: /jobs/competitive-test.yml
20+
parameters:
21+
cloud: azure
22+
regions:
23+
- eastus2
24+
engine: clusterloader2
25+
engine_input:
26+
image: "ghcr.io/azure/clusterloader2:v20241016"
27+
topology: cri-resource-consume
28+
matrix:
29+
n100-p3-cpu:
30+
node_count: 101
31+
max_pods: 20
32+
repeats: 1
33+
operation_timeout: 15m
34+
load_type: cpu
35+
node_per_step: 50
36+
scale_enabled: true
37+
n500-p5-cpu:
38+
node_count: 501
39+
max_pods: 20
40+
repeats: 1
41+
operation_timeout: 30m
42+
load_type: cpu
43+
node_per_step: 100
44+
scale_enabled: true
45+
n1001-p6-cpu:
46+
node_count: 1001
47+
max_pods: 20
48+
repeats: 1
49+
operation_timeout: 30m
50+
load_type: cpu
51+
node_per_step: 100
52+
scale_enabled: true
53+
max_parallel: 3
54+
timeout_in_minutes: 720
55+
credential_type: service_connection
56+
ssh_key_enabled: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
scenario_type = "perf-eval"
2+
scenario_name = "konnectivity-autoscale"
3+
deletion_delay = "3h"
4+
owner = "aks"
5+
6+
network_config_list = [
7+
{
8+
role = "client"
9+
vnet_name = "cri-autoscale-vnet"
10+
vnet_address_space = "10.0.0.0/9"
11+
subnet = [
12+
{
13+
name = "cri-autoscale-subnet-1"
14+
address_prefix = "10.0.0.0/16"
15+
}
16+
]
17+
network_security_group_name = ""
18+
nic_public_ip_associations = []
19+
nsr_rules = []
20+
}
21+
]
22+
23+
aks_config_list = [
24+
{
25+
role = "client"
26+
aks_name = "konnectivity-autoscale"
27+
dns_prefix = "cl2"
28+
subnet_name = "cri-autoscale-subnet-1"
29+
sku_tier = "Standard"
30+
network_profile = {
31+
network_plugin = "azure"
32+
network_plugin_mode = "overlay"
33+
pod_cidr = "10.0.0.0/9"
34+
service_cidr = "192.168.0.0/16"
35+
dns_service_ip = "192.168.0.10"
36+
}
37+
default_node_pool = {
38+
name = "default"
39+
node_count = 3
40+
vm_size = "Standard_D16_v3"
41+
os_disk_type = "Managed"
42+
only_critical_addons_enabled = true
43+
temporary_name_for_rotation = "defaulttmp"
44+
}
45+
extra_node_pool = [
46+
{
47+
name = "prompool"
48+
node_count = 1
49+
auto_scaling_enabled = false
50+
vm_size = "Standard_D32_v3"
51+
node_labels = { "prometheus" = "true" }
52+
},
53+
{
54+
name = "userpool0"
55+
node_count = 1
56+
min_count = 0
57+
max_count = 500
58+
auto_scaling_enabled = true
59+
vm_size = "Standard_D2_v3"
60+
max_pods = 110
61+
node_labels = { "cri-resource-consume" = "true" }
62+
},
63+
{
64+
name = "userpool1"
65+
node_count = 0
66+
min_count = 0
67+
max_count = 501
68+
auto_scaling_enabled = true
69+
vm_size = "Standard_D2_v3"
70+
max_pods = 110
71+
node_labels = { "cri-resource-consume" = "true" }
72+
}
73+
]
74+
kubernetes_version = "1.30"
75+
}
76+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"run_id": "1234567890",
3+
"region": "eastus"
4+
}

0 commit comments

Comments
 (0)