whoami: Add resource limits

This commit is contained in:
Lauri Võsandi 2024-08-25 00:17:34 +03:00
parent ce9891046f
commit a71bd5de37

View File

@ -15,11 +15,18 @@ spec:
app: whoami
spec:
containers:
- image: traefik/whoami
name: whoami
ports:
- containerPort: 80
protocol: TCP
- name: whoami
image: traefik/whoami
resources:
limits:
cpu: 10m
memory: 10Mi
requests:
cpu: 1m
memory: 2Mi
ports:
- containerPort: 80
protocol: TCP
---
apiVersion: v1
kind: Service