From 5426baeefc36b2ec9b566ea07ac09f0276e28692 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sun, 8 Dec 2024 21:07:56 +0100 Subject: [PATCH] refactor: reduce resource requests in deploy.yaml Adjust the CPU and memory requests for the container from 10m and 10Mi to 5m and 5Mi, respectively, to optimize resource usage in the Kubernetes deployment. This change aims to allocate fewer resources while maintaining application performance. --- k8s/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/deploy.yaml b/k8s/deploy.yaml index 987ca9b..70779c1 100644 --- a/k8s/deploy.yaml +++ b/k8s/deploy.yaml @@ -49,8 +49,8 @@ spec: - containerPort: 80 resources: requests: - cpu: 10m - memory: 10Mi + cpu: 5m + memory: 5Mi limits: cpu: 300m memory: 300Mi