From a71bd5de379174b06ed717f37fbb3cd1c07bb433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 25 Aug 2024 00:17:34 +0300 Subject: [PATCH] whoami: Add resource limits --- whoami/application.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/whoami/application.yml b/whoami/application.yml index cf03e08..4476145 100644 --- a/whoami/application.yml +++ b/whoami/application.yml @@ -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