#1 Construire Kokoro depuis Git

Отворени
penta заяви обединяване на 1 ревизии от penta/codex във penta/master
променени са 3 файла, в които са добавени 9 реда и са изтрити 16 реда
  1. 3 0
      .dockerignore
  2. 2 0
      .gitignore
  3. 4 16
      openshift.yaml

+ 3 - 0
.dockerignore

@@ -0,0 +1,3 @@
+.git
+__pycache__
+*.pyc

+ 2 - 0
.gitignore

@@ -0,0 +1,2 @@
+__pycache__/
+*.pyc

+ 4 - 16
openshift.yaml

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