mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
Added a benchmark to evaluate overhead of unschedulable pods
This commit is contained in:
@@ -240,3 +240,20 @@
|
||||
- numNodes: 5000
|
||||
numInitPods: [20000]
|
||||
numPodsToSchedule: 5000
|
||||
- template:
|
||||
desc: Unschedulable
|
||||
skipWaitUntilInitPodsScheduled: true
|
||||
initPods:
|
||||
- podTemplatePath: config/pod-large-cpu.yaml
|
||||
podsToSchedule:
|
||||
podTemplatePath: config/pod-default.yaml
|
||||
params:
|
||||
- numNodes: 500
|
||||
numInitPods: [200]
|
||||
numPodsToSchedule: 1000
|
||||
- numNodes: 5000
|
||||
numInitPods: [200]
|
||||
numPodsToSchedule: 5000
|
||||
- numNodes: 5000
|
||||
numInitPods: [2000]
|
||||
numPodsToSchedule: 5000
|
||||
|
14
test/integration/scheduler_perf/config/pod-large-cpu.yaml
Normal file
14
test/integration/scheduler_perf/config/pod-large-cpu.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
generateName: pod-
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/pause:3.2
|
||||
name: pause
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
cpu: 9
|
||||
memory: 500Mi
|
Reference in New Issue
Block a user