All checks were successful
/ deploy-to-homesrv01 (push) Successful in 14s
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
# currently hosted on chimera k3s cluster
|
|
# Add nodeSelector to schedule the pod on specific nodes
|
|
# Example: only schedule on nodes labeled with kubernetes.io/hostname=chimera
|
|
# Adjust the key/value as needed for your 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:
|
|
#nodeSelector:
|
|
#kubernetes.io/hostname: chimera-flashgordon
|
|
tolerations:
|
|
- key: "dedicated"
|
|
value: "reserved"
|
|
effect: "NoSchedule"
|
|
|
|
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"
|