fix: ukloni sync-wave i dodaj resource limits za fastapi
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user