All checks were successful
/ deploy-to-homesrv01 (push) Successful in 27s
add wyoming-whisper k3s deplyoment
44 lines
985 B
YAML
44 lines
985 B
YAML
# currently hosted on chimera k3s cluster
|
|
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: casa-services
|
|
name: wyoming-whisper
|
|
labels:
|
|
app: wyoming-whisper
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: wyoming-whisper
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: wyoming-whisper
|
|
spec:
|
|
containers:
|
|
- name: wyoming-whisper
|
|
image: linuxserver/faster-whisper
|
|
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"
|