diff --git a/services/bstein-dev-home/backend-deployment.yaml b/services/bstein-dev-home/backend-deployment.yaml index d703286..34c5d17 100644 --- a/services/bstein-dev-home/backend-deployment.yaml +++ b/services/bstein-dev-home/backend-deployment.yaml @@ -26,6 +26,15 @@ spec: - name: backend image: registry.bstein.dev/bstein/bstein-dev-home-backend:0.1.1-69 # {"$imagepolicy": "bstein-dev-home:bstein-dev-home-backend"} imagePullPolicy: Always + command: ["gunicorn"] + args: + - -b + - 0.0.0.0:8080 + - --workers + - "2" + - --timeout + - "180" + - app:app env: - name: AI_CHAT_API value: http://ollama.ai.svc.cluster.local:11434 @@ -101,8 +110,8 @@ spec: timeoutSeconds: 3 resources: requests: - cpu: 50m - memory: 64Mi + cpu: 100m + memory: 128Mi limits: - cpu: 300m - memory: 256Mi + cpu: 500m + memory: 512Mi