k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/request-benchmark/modules/benchmark-deployment.yaml (about) 1 {{$replicas := DefaultParam .replicas 0}} 2 {{$inflight := DefaultParam .inflight 0}} 3 {{$uri := DefaultParam .uri "/"}} 4 {{$qps := DefaultParam .qps -1}} 5 6 steps: 7 - name: Creating WaitForControlledPodsRunning measurement 8 measurements: 9 - Identifier: WaitForBenchmarkDeployment 10 Method: WaitForControlledPodsRunning 11 Params: 12 action: start 13 apiVersion: apps/v1 14 checkIfPodsAreUpdated: true 15 kind: Deployment 16 labelSelector: group = benchmark 17 operationTimeout: 5m 18 - name: Deploying benchmark 19 phases: 20 - namespaceRange: 21 min: 1 22 max: 1 23 tuningSet: Sequence 24 replicasPerNamespace: 1 25 objectBundle: 26 - basename: benchmark-deployment 27 objectTemplatePath: deployment.yaml 28 templateFillMap: 29 Replicas: {{$replicas}} 30 Inflight: {{$inflight}} 31 Uri: {{$uri}} 32 QPS: {{$qps}} 33 - name: Waiting for WaitForControlledPodsRunning gather 34 measurements: 35 - Identifier: WaitForBenchmarkDeployment 36 Method: WaitForControlledPodsRunning 37 Params: 38 action: gather