k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/testing/density/scheduler/custom-scheduler-metrics/config-custom-schd-sample.yaml (about) 1 name: test 2 3 namespace: 4 number: 1 5 6 tuningSets: 7 - name: Uniform1qps 8 qpsLoad: 9 qps: 1 10 11 steps: 12 - name: Start measurements 13 measurements: 14 - Identifier: PodStartupLatency 15 Method: PodStartupLatency 16 Params: 17 action: start 18 labelSelector: group = test-pod-default 19 threshold: 180s 20 - Identifier: WaitForControlledPodsRunning 21 Method: WaitForControlledPodsRunning 22 Params: 23 action: start 24 apiVersion: apps/v1 25 kind: Deployment 26 labelSelector: group = test-deployment 27 operationTimeout: 180s 28 - name: Create deployment 29 phases: 30 - namespaceRange: 31 min: 1 32 max: 1 33 replicasPerNamespace: 1 34 tuningSet: Uniform1qps 35 objectBundle: 36 - basename: test-deployment 37 objectTemplatePath: "deployment-sample.yaml" 38 templateFillMap: 39 Replicas: 7 40 - name: Wait for pods to be running 41 measurements: 42 - Identifier: WaitForControlledPodsRunning 43 Method: WaitForControlledPodsRunning 44 Params: 45 action: gather 46 - name: Measure pod startup latency 47 measurements: 48 - Identifier: PodStartupLatency 49 Method: PodStartupLatency 50 Params: 51 action: gather