apiVersion: apps/v1
kind: Deployment
metadata:
name: kalki-backend-api
namespace: kalki-production
spec:
replicas: 5
selector:
matchLabels:
app: kalki-backend
template:
metadata:
labels:
app: kalki-backend
spec:
containers:
- name: api-gateway
image: kalki/backend:1.5.0
resources:
limits:
cpu: "4"
memory: "8Gi"
nvidia.com/gpu: "1"
requests:
cpu: "2"
memory: "4Gi"
env:
- name: VECTOR_DB_URL
value: "http://qdrant.kalki-production:6333"
ports:
- containerPort: 8000
For edge nodes (mobile, smartwatch, IoT):
/metrics for query rates, token latency, and VRAM utilization.