whisper added
This commit is contained in:
parent
0b38f69702
commit
498eb7cb07
27
projects/whisper/base/deployment.yaml
Normal file
27
projects/whisper/base/deployment.yaml
Normal 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
|
16
projects/whisper/base/ingress.yaml
Normal file
16
projects/whisper/base/ingress.yaml
Normal 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
|
||||
|
4
projects/whisper/base/namespace.yaml
Normal file
4
projects/whisper/base/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: whisper
|
13
projects/whisper/base/service.yaml
Normal file
13
projects/whisper/base/service.yaml
Normal 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
|
10
projects/whisper/kustomization.yaml
Normal file
10
projects/whisper/kustomization.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user