Add Temporal worker container to agents-api deployment

This commit is contained in:
Deep Koluguri 2026-06-29 10:21:08 -04:00
parent 345f1651a6
commit 5829c087ea
1 changed files with 17 additions and 0 deletions

View File

@ -77,6 +77,23 @@ spec:
volumeMounts:
- name: app-volume
mountPath: /app
- name: worker
image: python:3.11-slim
workingDir: /app
command: ["sh", "-c", "pip install -r requirements.txt && python -m src.worker"]
env:
- name: PYTHONUNBUFFERED
value: "1"
- name: PYTHONPATH
value: "/app"
- name: GOOGLE_API_KEY
valueFrom:
secretKeyRef:
name: agents-api-secrets
key: GOOGLE_API_KEY
volumeMounts:
- name: app-volume
mountPath: /app
volumes:
- name: app-volume
emptyDir: {}