|
@@ -12,8 +12,10 @@ metadata:
|
|
|
spec:
|
|
spec:
|
|
|
runPolicy: Serial
|
|
runPolicy: Serial
|
|
|
source:
|
|
source:
|
|
|
- type: Binary
|
|
|
|
|
- binary: {}
|
|
|
|
|
|
|
+ type: Git
|
|
|
|
|
+ git:
|
|
|
|
|
+ uri: https://git.pentou.eu/penta/kokoro-tts-chatbot.git
|
|
|
|
|
+ ref: master
|
|
|
strategy:
|
|
strategy:
|
|
|
type: Docker
|
|
type: Docker
|
|
|
dockerStrategy: {}
|
|
dockerStrategy: {}
|
|
@@ -21,13 +23,6 @@ spec:
|
|
|
to:
|
|
to:
|
|
|
kind: ImageStreamTag
|
|
kind: ImageStreamTag
|
|
|
name: kokoro-tts:cpu
|
|
name: kokoro-tts:cpu
|
|
|
- resources:
|
|
|
|
|
- requests:
|
|
|
|
|
- cpu: '1'
|
|
|
|
|
- memory: 2Gi
|
|
|
|
|
- limits:
|
|
|
|
|
- cpu: '4'
|
|
|
|
|
- memory: 6Gi
|
|
|
|
|
---
|
|
---
|
|
|
apiVersion: apps/v1
|
|
apiVersion: apps/v1
|
|
|
kind: Deployment
|
|
kind: Deployment
|
|
@@ -54,13 +49,6 @@ spec:
|
|
|
image: image-registry.openshift-image-registry.svc:5000/localai/kokoro-tts:cpu
|
|
image: image-registry.openshift-image-registry.svc:5000/localai/kokoro-tts:cpu
|
|
|
ports:
|
|
ports:
|
|
|
- containerPort: 8000
|
|
- containerPort: 8000
|
|
|
- resources:
|
|
|
|
|
- requests:
|
|
|
|
|
- cpu: '2'
|
|
|
|
|
- memory: 2Gi
|
|
|
|
|
- limits:
|
|
|
|
|
- cpu: '4'
|
|
|
|
|
- memory: 4Gi
|
|
|
|
|
securityContext:
|
|
securityContext:
|
|
|
allowPrivilegeEscalation: false
|
|
allowPrivilegeEscalation: false
|
|
|
capabilities:
|
|
capabilities:
|