Skip to content

Commit 78fdd3f

Browse files
committed
Make l4lb-class configuration generic for LBs
1 parent 8c855b3 commit 78fdd3f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

clusterloader2/testing/l4lb-class/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{{$LARGE_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_LARGE_BACKEND_LB_SERVICE_COUNT 2}}
22
{{$MEDIUM_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_MEDIUM_BACKEND_LB_SERVICE_COUNT 2}}
33
{{$SMALL_BACKEND_LB_SERVICE_COUNT := DefaultParam .CL2_SMALL_BACKEND_LB_SERVICE_COUNT 2}}
4-
{{$lbQPS := DefaultParam .CL2_ILB_TEST_QPS 20}}
4+
{{$lbQPS := DefaultParam .CL2_LB_TEST_QPS 20}}
55
{{$LOAD_BALANCER_CLASS := DefaultParam .CL2_LOAD_BALANCER_CLASS "invalid.scalability.gke.io"}}
66

77
name: l4lbload
88
namespace:
99
number: 1
1010
tuningSets:
11-
- name: ILBConstantQPS
11+
- name: LBConstantQPS
1212
qpsLoad:
1313
qps: {{$lbQPS}}
1414
steps:
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Valid actions: "start", "waitForReady" and "gather"
22
{{$action := .action}}
3-
{{$ilbWaitTimeout := DefaultParam .CL2_ILB_WAIT_TIMEOUT "10m"}}
3+
{{$lbWaitTimeout := DefaultParam .CL2_LB_WAIT_TIMEOUT "10m"}}
44

55
steps:
66
- name: Service creation latency measurements - '{{$action}}'
@@ -9,17 +9,17 @@ steps:
99
Method: ServiceCreationLatency
1010
Params:
1111
action: {{$action}}
12-
waitTimeout: {{$ilbWaitTimeout}}
13-
labelSelector: size = ilb-large
12+
waitTimeout: {{$lbWaitTimeout}}
13+
labelSelector: size = lb-large
1414
- Identifier: ServiceCreationLatencyMedium
1515
Method: ServiceCreationLatency
1616
Params:
1717
action: {{$action}}
18-
waitTimeout: {{$ilbWaitTimeout}}
19-
labelSelector: size = ilb-medium
18+
waitTimeout: {{$lbWaitTimeout}}
19+
labelSelector: size = lb-medium
2020
- Identifier: ServiceCreationLatencySmall
2121
Method: ServiceCreationLatency
2222
Params:
2323
action: {{$action}}
24-
waitTimeout: {{$ilbWaitTimeout}}
25-
labelSelector: size = ilb-small
24+
waitTimeout: {{$lbWaitTimeout}}
25+
labelSelector: size = lb-small

clusterloader2/testing/l4lb-class/modules/services.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ steps:
1616
min: 1
1717
max: {{$namespaces}}
1818
replicasPerNamespace: {{$LARGE_BACKEND_LB_SERVICE_COUNT}}
19-
tuningSet: ILBConstantQPS
19+
tuningSet: LBConstantQPS
2020
objectBundle:
2121
- basename: large-backends-service
2222
objectTemplatePath: service.yaml
2323
templateFillMap:
2424
DeploymentBaseName: large-backends-dep
2525
ExternalTrafficPolicy: {{$EXTERNAL_TRAFFIC_POLICY}}
26-
LBSizeLabel: ilb-large
26+
LBSizeLabel: lb-large
2727
LoadBalancerClass: {{$LOAD_BALANCER_CLASS}}
2828
- basename: large-backends-dep
2929
objectTemplatePath: dep.yaml
@@ -33,14 +33,14 @@ steps:
3333
min: 1
3434
max: {{$namespaces}}
3535
replicasPerNamespace: {{$MEDIUM_BACKEND_LB_SERVICE_COUNT}}
36-
tuningSet: ILBConstantQPS
36+
tuningSet: LBConstantQPS
3737
objectBundle:
3838
- basename: medium-backends-service
3939
objectTemplatePath: service.yaml
4040
templateFillMap:
4141
DeploymentBaseName: medium-backends-dep
4242
ExternalTrafficPolicy: {{$EXTERNAL_TRAFFIC_POLICY}}
43-
LBSizeLabel: ilb-medium
43+
LBSizeLabel: lb-medium
4444
LoadBalancerClass: {{$LOAD_BALANCER_CLASS}}
4545
- basename: medium-backends-dep
4646
objectTemplatePath: dep.yaml
@@ -50,14 +50,14 @@ steps:
5050
min: 1
5151
max: {{$namespaces}}
5252
replicasPerNamespace: {{$SMALL_BACKEND_LB_SERVICE_COUNT}}
53-
tuningSet: ILBConstantQPS
53+
tuningSet: LBConstantQPS
5454
objectBundle:
5555
- basename: small-backends-service
5656
objectTemplatePath: service.yaml
5757
templateFillMap:
5858
DeploymentBaseName: small-backends-dep
5959
ExternalTrafficPolicy: {{$EXTERNAL_TRAFFIC_POLICY}}
60-
LBSizeLabel: ilb-small
60+
LBSizeLabel: lb-small
6161
LoadBalancerClass: {{$LOAD_BALANCER_CLASS}}
6262
- basename: small-backends-dep
6363
objectTemplatePath: dep.yaml

0 commit comments

Comments
 (0)