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 8d57c39
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
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
1 change: 0 additions & 1 deletion steps/validate-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ steps:
cloud: ${{ parameters.cloud }}
regions: ${{ parameters.regions }}
engine: ${{ parameters.engine }}
topology: ${{ parameters.topology }}

0 comments on commit 8d57c39

Please sign in to comment.