Add faster-whisper service
This commit is contained in:
parent
f3322d4a80
commit
2256cdf9dd
14
api/fast-whisper/fast-whisper-service.yaml
Normal file
14
api/fast-whisper/fast-whisper-service.yaml
Normal 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
|
@ -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
|
||||
|
@ -9,9 +9,5 @@ spec:
|
||||
- name: general-api
|
||||
port: 8080
|
||||
targetPort: 80
|
||||
- name: faster-whisper
|
||||
port: 8000
|
||||
targetPort: 8000
|
||||
|
||||
selector:
|
||||
app: api-apps
|
Loading…
Reference in New Issue
Block a user