diff --git a/services/wyoming/whisper.kubernetes-deployment.yaml b/services/wyoming/chimera/whisper-deployment.yaml similarity index 58% rename from services/wyoming/whisper.kubernetes-deployment.yaml rename to services/wyoming/chimera/whisper-deployment.yaml index 7b6e483..9e0dbe2 100644 --- a/services/wyoming/whisper.kubernetes-deployment.yaml +++ b/services/wyoming/chimera/whisper-deployment.yaml @@ -15,8 +15,6 @@ spec: selector: matchLabels: app: wyoming-whisper - - template: metadata: labels: @@ -31,25 +29,21 @@ spec: containers: - name: wyoming-whisper - image: linuxserver/faster-whisper + image: rhasspy/wyoming-whisper + volumeMounts: + - mountPath: /data + name: data + args: + - --model + - small-int8 + - --language + - pt + - --beam-size + - "4" + - --debug ports: - containerPort: 10300 - hostPort: 10300 - env: - - name: WHISPER_MODEL - value: small-int8 # turbo - - name: WHISPER_LANG - value: pt - - name: OMP_NUM_THREADS - value: "4" - - name: BEAM - value: "4" - - # args: ["--threads", "8"] - # resources: - # requests: - # cpu: "500m" - # memory: "1Gi" - # limits: - # cpu: "1" - # memory: "2Gi" + volumes: + - name: data + persistentVolumeClaim: + claimName: wyoming-whisper \ No newline at end of file diff --git a/services/wyoming/chimera/whisper-pvc.yaml b/services/wyoming/chimera/whisper-pvc.yaml new file mode 100644 index 0000000..aefd1c9 --- /dev/null +++ b/services/wyoming/chimera/whisper-pvc.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: wyoming-whisper + namespace: casa-services +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 8Gi \ No newline at end of file diff --git a/services/wyoming/chimera/whisper-service.yaml b/services/wyoming/chimera/whisper-service.yaml new file mode 100644 index 0000000..8b34732 --- /dev/null +++ b/services/wyoming/chimera/whisper-service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: wyoming-whisper + namespace: casa-services + labels: + app: wyoming-whisper +spec: + type: LoadBalancer + loadBalancerIP: 192.168.14.201 # requires metallb + selector: + app: wyoming-whisper + ports: + - port: 10300 + targetPort: 10300 \ No newline at end of file