mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Added Preemption benchmark
This commit is contained in:
@@ -227,3 +227,16 @@
|
||||
- numNodes: 5000
|
||||
numInitPods: [2000, 2000, 2000, 2000, 2000]
|
||||
numPodsToSchedule: 1000
|
||||
- template:
|
||||
desc: Preemption
|
||||
initPods:
|
||||
- podTemplatePath: config/pod-low-priority.yaml
|
||||
podsToSchedule:
|
||||
podTemplatePath: config/pod-high-priority.yaml
|
||||
params:
|
||||
- numNodes: 500
|
||||
numInitPods: [2000]
|
||||
numPodsToSchedule: 500
|
||||
- numNodes: 5000
|
||||
numInitPods: [20000]
|
||||
numPodsToSchedule: 5000
|
||||
|
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
generateName: pod-
|
||||
spec:
|
||||
priority: 10
|
||||
containers:
|
||||
- image: k8s.gcr.io/pause:3.2
|
||||
name: pause
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
limits:
|
||||
cpu: 3000m
|
||||
memory: 500Mi
|
||||
requests:
|
||||
cpu: 3000m
|
||||
memory: 500Mi
|
18
test/integration/scheduler_perf/config/pod-low-priority.yaml
Normal file
18
test/integration/scheduler_perf/config/pod-low-priority.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
generateName: pod-
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 0
|
||||
containers:
|
||||
- image: k8s.gcr.io/pause:3.2
|
||||
name: pause
|
||||
ports:
|
||||
- containerPort: 80
|
||||
resources:
|
||||
limits:
|
||||
cpu: 900m
|
||||
memory: 500Mi
|
||||
requests:
|
||||
cpu: 900m
|
||||
memory: 500Mi
|
Reference in New Issue
Block a user