25 lines
457 B
YAML
25 lines
457 B
YAML
|
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"
|