++ busybox eating all resources

This commit is contained in:
Nico Schottelius 2021-06-24 14:07:25 +02:00
parent 864bd012de
commit 4da1d8b488
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: busybox-eats-everything
spec:
selector:
matchLabels:
app: busybox-is-hungry
replicas: 12
template:
metadata:
labels:
app: busybox-is-hungry
spec:
containers:
- name: busybox
image: busybox
args:
- sleep
- "1000000"
resources:
requests:
memory: "2Gi"
cpu: "10"

View file

@ -0,0 +1,18 @@
apiVersion: v1
kind: Pod
metadata:
name: busybox-sleep-huge
spec:
containers:
- name: busybox
image: busybox
args:
- sleep
- "1000000"
resources:
requests:
memory: "40Gi"
cpu: "24"
limits:
memory: "50Gi"
cpu: "36"