clusterloader2/testing/density/scheduler/custom-scheduler-metrics/config-custom-schd-sample.yaml (48 lines of code) (raw):

name: test namespace: number: 1 tuningSets: - name: Uniform1qps qpsLoad: qps: 1 steps: - name: Start measurements measurements: - Identifier: PodStartupLatency Method: PodStartupLatency Params: action: start labelSelector: group = test-pod-default threshold: 180s - Identifier: WaitForControlledPodsRunning Method: WaitForControlledPodsRunning Params: action: start apiVersion: apps/v1 kind: Deployment labelSelector: group = test-deployment operationTimeout: 180s - name: Create deployment phases: - namespaceRange: min: 1 max: 1 replicasPerNamespace: 1 tuningSet: Uniform1qps objectBundle: - basename: test-deployment objectTemplatePath: "deployment-sample.yaml" templateFillMap: Replicas: 7 - name: Wait for pods to be running measurements: - Identifier: WaitForControlledPodsRunning Method: WaitForControlledPodsRunning Params: action: gather - name: Measure pod startup latency measurements: - Identifier: PodStartupLatency Method: PodStartupLatency Params: action: gather