diff --git a/curio/k8s/whisper.yaml b/curio/k8s/whisper.yaml new file mode 100644 index 0000000..c035514 --- /dev/null +++ b/curio/k8s/whisper.yaml @@ -0,0 +1,42 @@ +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: "base" # Optimized for speed and Indian languages +--- +apiVersion: v1 +kind: Service +metadata: + name: whisper-api + namespace: curio +spec: + selector: + app: whisper-api + ports: + - port: 80 + targetPort: 8000