fix: ukloni sync-wave i dodaj resource limits za fastapi

This commit is contained in:
TonyKaracic33
2026-05-19 23:35:22 +02:00
parent 441b807e19
commit 1bcaefb35e

View File

@@ -3,8 +3,6 @@ kind: Deployment
metadata:
name: fastapi-api
namespace: student-tony773
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
replicas: 1
selector:
@@ -20,6 +18,13 @@ spec:
image: vasic/fastapi-todo-api:1.0
ports:
- containerPort: 8000
resources:
requests:
cpu: "10m"
memory: "64Mi"
limits:
cpu: "100m"
memory: "128Mi"
env:
- name: DATABASE_HOST
valueFrom: