fix(bstein-dev-home): harden backend gunicorn
This commit is contained in:
parent
bbb15a6532
commit
4a841a1660
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user