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
|
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
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user