whisper added

This commit is contained in:
Steffen Illium 2024-05-06 10:13:26 +02:00
parent 0b38f69702
commit 498eb7cb07
5 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: whisper
name: whisper
spec:
replicas: 1
selector:
matchLabels:
app: whisper
template:
metadata:
labels:
app: whisper
spec:
containers:
- image: linuxserver/faster-whisper:latest
name: whisper
env:
- TZ=Europe/Berlin
ports:
- name: http
containerPort: 10300
protocol: TCP
resources: {}
restartPolicy: Always

View File

@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: whisper
namespace: whisper
spec:
entryPoints:
- websecure-local
tls: {}
routes:
- match: Host(`whisper.steffenillium.de`)
kind: Rule
services:
- name: whisper
port: http

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: whisper

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: whisper
name: whisper
spec:
ports:
- name: http
port: 80
targetPort: http
selector:
app: whisper

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: whisper
resources:
- base/deployment.yaml
- base/ingress.yaml
- base/namespace.yaml
- base/service.yaml