Skip to content

Commit f624f5b

Browse files
authored
Merge pull request #3779 from serathius/module-refactor
Move all load manifests under the related modules
2 parents d1e54ad + 1c51d06 commit f624f5b

11 files changed

Lines changed: 20 additions & 20 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../load/service.yaml
1+
../load/modules/services/service.yaml
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../load/simple-deployment.yaml
1+
../load/modules/scheduler-throughput/simple-deployment.yaml

clusterloader2/testing/load/config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ steps:
151151
{{end}}
152152

153153
- module:
154-
path: modules/services.yaml
154+
path: modules/services/config.yaml
155155
params:
156156
actionName: "Creating"
157157
namespaces: {{$namespaces}}
@@ -170,7 +170,7 @@ steps:
170170
# Moved from reconcile-objects/config.yaml to mitigate https://github.com/kubernetes/kubernetes/issues/96635.
171171
# TODO(https://github.com/kubernetes/perf-tests/issues/1823): Merge back to reconcile-objects/config.yaml once the k/k bug is fixed.
172172
- module:
173-
path: /modules/configmaps-secrets.yaml
173+
path: /modules/configmaps-secrets/config.yaml
174174
params:
175175
actionName: create
176176
tuningSet: default
@@ -232,7 +232,7 @@ steps:
232232
{{if not $IS_SMALL_CLUSTER}}
233233
# BEGIN scheduler throughput
234234
- module:
235-
path: modules/scheduler-throughput.yaml
235+
path: modules/scheduler-throughput/config.yaml
236236
params:
237237
action: create
238238
namespaces: {{$namespaces}}
@@ -288,7 +288,7 @@ steps:
288288

289289
{{if not $IS_SMALL_CLUSTER}}
290290
- module:
291-
path: modules/scheduler-throughput.yaml
291+
path: modules/scheduler-throughput/config.yaml
292292
params:
293293
action: delete
294294
namespaces: {{$namespaces}}
@@ -421,7 +421,7 @@ steps:
421421
{{end}}
422422

423423
- module:
424-
path: /modules/configmaps-secrets.yaml
424+
path: /modules/configmaps-secrets/config.yaml
425425
params:
426426
actionName: delete
427427
tuningSet: default
@@ -439,7 +439,7 @@ steps:
439439
objectTemplatePath: daemonset-priorityclass.yaml
440440

441441
- module:
442-
path: modules/services.yaml
442+
path: /modules/services/config.yaml
443443
params:
444444
actionName: "Deleting"
445445
namespaces: {{$namespaces}}

clusterloader2/testing/load/modules/configmaps-secrets.yaml renamed to clusterloader2/testing/load/modules/configmaps-secrets/config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ steps:
2020
tuningSet: {{$tuningSet}}
2121
objectBundle:
2222
- basename: big-deployment
23-
objectTemplatePath: configmap.yaml
23+
objectTemplatePath: /modules/configmaps-secrets/configmap.yaml
2424
- basename: big-deployment
25-
objectTemplatePath: secret.yaml
25+
objectTemplatePath: /modules/configmaps-secrets/secret.yaml
2626
- namespaceRange:
2727
min: 1
2828
max: {{$namespaces}}
2929
replicasPerNamespace: {{$mediumDeploymentsPerNamespace}}
3030
tuningSet: {{$tuningSet}}
3131
objectBundle:
3232
- basename: medium-deployment
33-
objectTemplatePath: configmap.yaml
33+
objectTemplatePath: /modules/configmaps-secrets/configmap.yaml
3434
- basename: medium-deployment
35-
objectTemplatePath: secret.yaml
35+
objectTemplatePath: /modules/configmaps-secrets/secret.yaml
3636
- namespaceRange:
3737
min: 1
3838
max: {{$namespaces}}
3939
replicasPerNamespace: {{$smallDeploymentsPerNamespace}}
4040
tuningSet: {{$tuningSet}}
4141
objectBundle:
4242
- basename: small-deployment
43-
objectTemplatePath: configmap.yaml
43+
objectTemplatePath: /modules/configmaps-secrets/configmap.yaml
4444
- basename: small-deployment
45-
objectTemplatePath: secret.yaml
45+
objectTemplatePath: /modules/configmaps-secrets/secret.yaml

clusterloader2/testing/load/configmap.yaml renamed to clusterloader2/testing/load/modules/configmaps-secrets/configmap.yaml

File renamed without changes.

clusterloader2/testing/load/secret.yaml renamed to clusterloader2/testing/load/modules/configmaps-secrets/secret.yaml

File renamed without changes.

clusterloader2/testing/load/modules/pod-startup-latency.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ steps:
4848
tuningSet: Uniform5qps
4949
objectBundle:
5050
- basename: latency-deployment
51-
objectTemplatePath: simple-deployment.yaml
51+
objectTemplatePath: /modules/scheduler-throughput/simple-deployment.yaml
5252
templateFillMap:
5353
Replicas: 1
5454
Group: latency
@@ -70,7 +70,7 @@ steps:
7070
tuningSet: default
7171
objectBundle:
7272
- basename: latency-deployment
73-
objectTemplatePath: simple-deployment.yaml
73+
objectTemplatePath: /modules/scheduler-throughput/simple-deployment.yaml
7474
- name: Waiting for latency pods to be deleted
7575
measurements:
7676
- Identifier: WaitForRunningLatencyDeployments

clusterloader2/testing/load/modules/scheduler-throughput.yaml renamed to clusterloader2/testing/load/modules/scheduler-throughput/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ steps:
5353
tuningSet: default
5454
objectBundle:
5555
- basename: scheduler-throughput-deployment
56-
objectTemplatePath: simple-deployment.yaml
56+
objectTemplatePath: /modules/scheduler-throughput/simple-deployment.yaml
5757
templateFillMap:
5858
Replicas: {{$schedulerThroughputPodsPerDeployment}}
5959
Group: scheduler-throughput

clusterloader2/testing/load/simple-deployment.yaml renamed to clusterloader2/testing/load/modules/scheduler-throughput/simple-deployment.yaml

File renamed without changes.

clusterloader2/testing/load/modules/services.yaml renamed to clusterloader2/testing/load/modules/services/config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ steps:
1717
tuningSet: Sequence
1818
objectBundle:
1919
- basename: big-service
20-
objectTemplatePath: service.yaml
20+
objectTemplatePath: /modules/services/service.yaml
2121
- namespaceRange:
2222
min: 1
2323
max: {{$namespaces}}
2424
replicasPerNamespace: {{$mediumServicesPerNamespace}}
2525
tuningSet: Sequence
2626
objectBundle:
2727
- basename: medium-service
28-
objectTemplatePath: service.yaml
28+
objectTemplatePath: /modules/services/service.yaml
2929
- namespaceRange:
3030
min: 1
3131
max: {{$namespaces}}
3232
replicasPerNamespace: {{$smallServicesPerNamespace}}
3333
tuningSet: Sequence
3434
objectBundle:
3535
- basename: small-service
36-
objectTemplatePath: service.yaml
36+
objectTemplatePath: /modules/services/service.yaml

0 commit comments

Comments
 (0)