Add faster-whisper service

This commit is contained in:
Tyler Perkins 2024-06-21 18:40:09 -04:00
parent f3322d4a80
commit 2256cdf9dd
3 changed files with 16 additions and 6 deletions

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: fast-whisper-service
namespace: api-ns
spec:
type: LoadBalancer
ports:
- name: faster-whisper
port: 8000
targetPort: 8000
selector:
app: fast-whisper

View File

@ -9,11 +9,11 @@ spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: api-apps app: fast-whisper
template: template:
metadata: metadata:
labels: labels:
app: api-apps app: fast-whisper
spec: spec:
containers: containers:
- name: fast-whisper - name: fast-whisper

View File

@ -9,9 +9,5 @@ spec:
- name: general-api - name: general-api
port: 8080 port: 8080
targetPort: 80 targetPort: 80
- name: faster-whisper
port: 8000
targetPort: 8000
selector: selector:
app: api-apps app: api-apps