agentic-os/curio/k8s/whisper.yaml

45 lines
841 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: whisper-api
namespace: curio
spec:
replicas: 1
selector:
matchLabels:
app: whisper-api
template:
metadata:
labels:
app: whisper-api
spec:
containers:
- name: whisper
image: fedirzh/faster-whisper-server:latest
ports:
- containerPort: 8000
resources:
requests:
cpu: "1"
memory: "2Gi"
limits:
cpu: "2"
memory: "4Gi"
env:
- name: WHISPER_MODEL
value: "tiny" # Faster startup, lightweight
- name: WHISPER_TASK
value: "transcribe"
---
apiVersion: v1
kind: Service
metadata:
name: whisper-api
namespace: curio
spec:
selector:
app: whisper-api
ports:
- port: 80
targetPort: 8000