++ busybox eating all resources
This commit is contained in:
parent
864bd012de
commit
4da1d8b488
2 changed files with 42 additions and 0 deletions
24
generic/busybox-resources-huge-deployment.yaml
Normal file
24
generic/busybox-resources-huge-deployment.yaml
Normal 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"
|
18
generic/busybox-resources-huge.yaml
Normal file
18
generic/busybox-resources-huge.yaml
Normal 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"
|
Loading…
Reference in a new issue