whoami: Add resource limits
This commit is contained in:
parent
ce9891046f
commit
a71bd5de37
@ -15,11 +15,18 @@ spec:
|
|||||||
app: whoami
|
app: whoami
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: traefik/whoami
|
- name: whoami
|
||||||
name: whoami
|
image: traefik/whoami
|
||||||
ports:
|
resources:
|
||||||
- containerPort: 80
|
limits:
|
||||||
protocol: TCP
|
cpu: 10m
|
||||||
|
memory: 10Mi
|
||||||
|
requests:
|
||||||
|
cpu: 1m
|
||||||
|
memory: 2Mi
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
Loading…
Reference in New Issue
Block a user