added deployment
This commit is contained in:
@@ -0,0 +1,45 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-piper
|
||||||
|
name: havoice-piper
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: havoice-piper
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-piper
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- --voice
|
||||||
|
- de_DE-ramona-low
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Berlin
|
||||||
|
image: rhasspy/wyoming-piper:1.3.2
|
||||||
|
name: havoice-piper
|
||||||
|
ports:
|
||||||
|
- containerPort: 10200
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: havoice-piper-claim
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: havoice-piper-claim
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: havoice-piper-claim
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-piper-claim
|
||||||
|
name: havoice-piper-claim
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 512Mi
|
||||||
|
storageClassName: nfs-csi
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-piper
|
||||||
|
name: havoice-piper
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 10200
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 10200
|
||||||
|
selector:
|
||||||
|
io.kompose.service: havoice-piper
|
||||||
|
sessionAffinity: None
|
||||||
|
type: LoadBalancer
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-whisper
|
||||||
|
name: havoice-whisper
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: havoice-whisper
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-whisper
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- args:
|
||||||
|
- --model
|
||||||
|
- tiny
|
||||||
|
- --language
|
||||||
|
- de
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Berlin
|
||||||
|
image: rhasspy/wyoming-whisper:2.5.0
|
||||||
|
name: havoice-whisper
|
||||||
|
ports:
|
||||||
|
- containerPort: 10300
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /data
|
||||||
|
name: havoice-whisper-claim
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: havoice-whisper-claim
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: havoice-whisper-claim
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-whisper-claim
|
||||||
|
name: havoice-whisper-claim
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 512Mi
|
||||||
|
storageClassName: nfs-csi
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
kompose.cmd: kompose convert -f compose.yaml
|
||||||
|
kompose.version: 1.34.0 (cbf2835db)
|
||||||
|
labels:
|
||||||
|
io.kompose.service: havoice-whisper
|
||||||
|
name: havoice-whisper
|
||||||
|
namespace: havoice
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- port: 10300
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 10300
|
||||||
|
selector:
|
||||||
|
io.kompose.service: havoice-whisper
|
||||||
|
sessionAffinity: None
|
||||||
|
type: LoadBalancer
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# namespace.yaml
|
||||||
|
kind: Namespace
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: havoice
|
||||||
Reference in New Issue
Block a user