Skip to content

Commit

Permalink
restore wait for pods
Browse files Browse the repository at this point in the history
  • Loading branch information
jshr-w committed Nov 14, 2024
1 parent 910f90f commit 10cf06b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions modules/python/clusterloader2/slo/config/cluster-scale-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ steps:
action: start
{{end}}

- name: Start measurements
measurements:
- Identifier: WaitForRunningLatencyDeployments
Method: WaitForControlledPodsRunning
Params:
action: start
checkIfPodsAreUpdated: true
apiVersion: apps/v1
kind: Deployment
labelSelector: group = deployment-churn
operationTimeout: {{$operationTimeout}}

{{range $i := Loop $repeats}}
{{range $j := Loop $steps}}
- name: Creating Deployments {{$j}}
Expand Down Expand Up @@ -90,6 +102,14 @@ steps:
labelSelector: slo = true
timeout: {{$operationTimeout}}
refreshInterval: 1m

- name: Waiting for latency pods to be running
measurements:
- Identifier: WaitForRunningLatencyDeployments
Method: WaitForControlledPodsRunning
Params:
action: gather
refreshInterval: 15s
{{end}}

{{range $j := Loop $steps}}
Expand All @@ -103,6 +123,14 @@ steps:
objectBundle:
- basename: deployment-churn-{{$j}}
objectTemplatePath: deployment_template.yaml

- name: Waiting for latency pods to be deleted
measurements:
- Identifier: WaitForRunningLatencyDeployments
Method: WaitForControlledPodsRunning
Params:
action: gather
refreshInterval: 15s
{{end}}
{{end}}

Expand Down

0 comments on commit 10cf06b

Please sign in to comment.