49 lines
1.2 KiB
YAML
49 lines
1.2 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: rhasspy/wyoming-whisper
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: data
|
|
args:
|
|
- --model
|
|
- small-int8
|
|
- --language
|
|
- pt
|
|
- --beam-size
|
|
- "4"
|
|
- --debug
|
|
ports:
|
|
- containerPort: 10300
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: wyoming-whisper |