Browse Source

++ busybox eating all resources

master
Nico Schottelius 1 year ago
parent
commit
4da1d8b488
  1. 24
      generic/busybox-resources-huge-deployment.yaml
  2. 18
      generic/busybox-resources-huge.yaml

24
generic/busybox-resources-huge-deployment.yaml

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

18
generic/busybox-resources-huge.yaml

@ -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"
Loading…
Cancel
Save