add piper, move to voice
This commit is contained in:
9
projects/voice/kustomization.yaml
Normal file
9
projects/voice/kustomization.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: voice
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- whisper
|
||||||
|
- piper
|
||||||
|
- namespace.yaml
|
@ -1,4 +1,4 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Namespace
|
kind: Namespace
|
||||||
metadata:
|
metadata:
|
||||||
name: whisper
|
name: voice
|
30
projects/voice/piper/base/deployment.yaml
Normal file
30
projects/voice/piper/base/deployment.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: piper
|
||||||
|
name: piper
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: piper
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: piper
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- image: lscr.io/linuxserver/piper:latest
|
||||||
|
name: piper
|
||||||
|
env:
|
||||||
|
- name: TZ
|
||||||
|
value: Europe/Berlin
|
||||||
|
- name: PIPER_VOICE
|
||||||
|
value: en_US-hfc_female-medium
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 10200
|
||||||
|
protocol: TCP
|
||||||
|
resources: {}
|
||||||
|
restartPolicy: Always
|
15
projects/voice/piper/base/ingress.yaml
Normal file
15
projects/voice/piper/base/ingress.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: piper
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure-local
|
||||||
|
tls: {}
|
||||||
|
routes:
|
||||||
|
- match: Host(`piper.steffenillium.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: piper
|
||||||
|
port: http
|
||||||
|
|
13
projects/voice/piper/base/service.yaml
Normal file
13
projects/voice/piper/base/service.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: piper
|
||||||
|
name: piper
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
targetPort: http
|
||||||
|
selector:
|
||||||
|
app: piper
|
@ -1,10 +1,7 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
namespace: whisper
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- base/deployment.yaml
|
- base/deployment.yaml
|
||||||
- base/ingress.yaml
|
- base/ingress.yaml
|
||||||
- base/namespace.yaml
|
|
||||||
- base/service.yaml
|
- base/service.yaml
|
@ -20,6 +20,8 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Europe/Berlin
|
value: Europe/Berlin
|
||||||
|
- name: WHISPER_MODEL
|
||||||
|
value: large-v3
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 10300
|
containerPort: 10300
|
7
projects/voice/whisper/kustomization.yaml
Normal file
7
projects/voice/whisper/kustomization.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- base/deployment.yaml
|
||||||
|
- base/ingress.yaml
|
||||||
|
- base/service.yaml
|
Reference in New Issue
Block a user