review wyoming-whisper to use metallb on chimera
Some checks failed
/ deploy-to-homesrv01 (push) Failing after 10s
Some checks failed
/ deploy-to-homesrv01 (push) Failing after 10s
This commit is contained in:
@@ -15,8 +15,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: wyoming-whisper
|
app: wyoming-whisper
|
||||||
|
|
||||||
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -31,25 +29,21 @@ spec:
|
|||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: wyoming-whisper
|
- 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:
|
ports:
|
||||||
- containerPort: 10300
|
- containerPort: 10300
|
||||||
hostPort: 10300
|
volumes:
|
||||||
env:
|
- name: data
|
||||||
- name: WHISPER_MODEL
|
persistentVolumeClaim:
|
||||||
value: small-int8 # turbo
|
claimName: wyoming-whisper
|
||||||
- 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"
|
|
||||||
11
services/wyoming/chimera/whisper-pvc.yaml
Normal file
11
services/wyoming/chimera/whisper-pvc.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: wyoming-whisper
|
||||||
|
namespace: casa-services
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 8Gi
|
||||||
15
services/wyoming/chimera/whisper-service.yaml
Normal file
15
services/wyoming/chimera/whisper-service.yaml
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user