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
selector:
matchLabels:
app: api-apps
app: fast-whisper
template:
metadata:
labels:
app: api-apps
app: fast-whisper
spec:
containers:
- name: fast-whisper

View File

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