lower cpu limits

This commit is contained in:
2026-05-25 23:44:42 +02:00
parent 0880dc1c5c
commit 74d6cc6d6a

View File

@@ -1,8 +1,10 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: fastapi-api name: fastapi-api
namespace: student-antoniomaric1 namespace: student-antoniomaric1
annotations: annotations:
argocd.argoproj.io/sync-wave: "1" argocd.argoproj.io/sync-wave: "1"
@@ -21,14 +23,15 @@ spec:
spec: spec:
containers: containers:
- name: fastapi-api - name: fastapi-api
image: vasic/fastapi-todo-api:1.0 image: vasic/fastapi-todo-api:1.0
resources: resources:
requests: requests:
cpu: "50m" cpu: "10m"
memory: "64Mi" memory: "64Mi"
limits: limits:
cpu: "100m" cpu: "50m"
memory: "128Mi" memory: "128Mi"
ports: ports: