Skip to content

Commit 01016a3

Browse files
committed
watch-list/load-test: wait for informer pods to be running before starting the load test
1 parent c649a61 commit 01016a3

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

  • clusterloader2/testing/load/modules/informer

clusterloader2/testing/load/modules/informer/config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,24 @@ steps:
3333
objectTemplatePath: /modules/informer/deployment.yaml
3434
templateFillMap:
3535
EnableWatchListFeature: "true"
36+
{{if eq $action "create"}}
37+
- name: Starting measurement for waiting for informer pods to be running
38+
measurements:
39+
- Method: WaitForControlledPodsRunning
40+
Instances:
41+
- Identifier: WaitForRunningInformerDeployments
42+
Params:
43+
apiVersion: apps/v1
44+
kind: Deployment
45+
Params:
46+
action: start
47+
labelSelector: group = informer
48+
operationTimeout: 2m
49+
- name: Waiting for informer pods to be running
50+
measurements:
51+
- Method: WaitForControlledPodsRunning
52+
Instances:
53+
- Identifier: WaitForRunningInformerDeployments
54+
Params:
55+
action: gather
56+
{{end}}

0 commit comments

Comments
 (0)