diff --git a/api/fast-whisper/fast-whisper-service.yaml b/api/fast-whisper/fast-whisper-service.yaml new file mode 100644 index 0000000..d270e7c --- /dev/null +++ b/api/fast-whisper/fast-whisper-service.yaml @@ -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 diff --git a/api/fast-whisper/fast-whisper.yaml b/api/fast-whisper/fast-whisper.yaml index 2ddfab2..53ea3ba 100644 --- a/api/fast-whisper/fast-whisper.yaml +++ b/api/fast-whisper/fast-whisper.yaml @@ -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 diff --git a/api/api-service.yaml b/api/general-api/api-service.yaml similarity index 76% rename from api/api-service.yaml rename to api/general-api/api-service.yaml index c6a0404..7cee1e7 100644 --- a/api/api-service.yaml +++ b/api/general-api/api-service.yaml @@ -9,9 +9,5 @@ spec: - name: general-api port: 8080 targetPort: 80 - - name: faster-whisper - port: 8000 - targetPort: 8000 - selector: app: api-apps