Added Preemption benchmark

This commit is contained in:
Abdullah Gharaibeh
2020-05-27 16:29:26 -04:00
parent d680e053f1
commit d650b57141
6 changed files with 68 additions and 10 deletions

View File

@@ -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

View File

@@ -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

View 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