scale: povecaj FastAPI na 2 replike

This commit is contained in:
2026-05-25 11:14:10 +02:00
parent 738d24e465
commit c00982133d

View File

@@ -6,7 +6,7 @@ metadata:
annotations: annotations:
argocd.argoproj.io/sync-wave: "1" # deploy NAKON baze argocd.argoproj.io/sync-wave: "1" # deploy NAKON baze
spec: spec:
replicas: 1 replicas: 2
selector: selector:
matchLabels: matchLabels:
app: fastapi-api app: fastapi-api
@@ -17,7 +17,7 @@ spec:
spec: spec:
containers: containers:
- name: fastapi-api - name: fastapi-api
image: git.fpmoz.sum.ba/dvasic/fastapi-todo-api:1.0 image: vasic/fastapi-todo-api:1.0
ports: ports:
- containerPort: 8000 - containerPort: 8000
env: env: