From ebcca927718c0a8eaae9f63938264f2dfa74032f Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Tue, 24 Nov 2020 17:48:53 +0800 Subject: [PATCH] Add performance benchmark for the preemption with volume This will help to reveal the potential issues when the volume is in place. Signed-off-by: Dave Chen --- .../config/performance-config.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/test/integration/scheduler_perf/config/performance-config.yaml b/test/integration/scheduler_perf/config/performance-config.yaml index 5644f93ca33..0e11125665b 100644 --- a/test/integration/scheduler_perf/config/performance-config.yaml +++ b/test/integration/scheduler_perf/config/performance-config.yaml @@ -396,6 +396,31 @@ initPods: 20000 measurePods: 5000 +- name: PreemptionPVs + workloadTemplate: + - opcode: createNodes + countParam: $initNodes + - opcode: createPods + countParam: $initPods + podTemplatePath: config/pod-low-priority.yaml + - opcode: createPods + countParam: $measurePods + podTemplatePath: config/pod-high-priority.yaml + persistentVolumeTemplatePath: config/pv-aws.yaml + persistentVolumeClaimTemplatePath: config/pvc.yaml + collectMetrics: true + workloads: + - name: 500Nodes + params: + initNodes: 500 + initPods: 2000 + measurePods: 500 + - name: 5000Nodes + params: + initNodes: 5000 + initPods: 20000 + measurePods: 5000 + - name: Unschedulable workloadTemplate: - opcode: createNodes