From 5287f1398c1d3da5116cfb13f7ebf0dcaf8b64b9 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 30 Mar 2024 22:06:46 -0400 Subject: [PATCH] Remove text gen ui --- base/text-gen/text-gen-namespace.yaml | 4 --- text-ui/text-ui-deployment.yaml | 52 --------------------------- text-ui/text-ui-pvc.yaml | 12 ------- text-ui/text-ui-service.yaml | 19 ---------- 4 files changed, 87 deletions(-) delete mode 100644 base/text-gen/text-gen-namespace.yaml delete mode 100644 text-ui/text-ui-deployment.yaml delete mode 100644 text-ui/text-ui-pvc.yaml delete mode 100644 text-ui/text-ui-service.yaml diff --git a/base/text-gen/text-gen-namespace.yaml b/base/text-gen/text-gen-namespace.yaml deleted file mode 100644 index a5696cb..0000000 --- a/base/text-gen/text-gen-namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: text-gen-ns diff --git a/text-ui/text-ui-deployment.yaml b/text-ui/text-ui-deployment.yaml deleted file mode 100644 index f6a5c53..0000000 --- a/text-ui/text-ui-deployment.yaml +++ /dev/null @@ -1,52 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: text-gen - namespace: text-gen-ns -spec: - replicas: 1 - selector: - matchLabels: - app: text-generation-webui - template: - metadata: - labels: - app: text-generation-webui - spec: - containers: - - name: text-generation-webui - image: atinoda/text-generation-webui:default-nvidia - env: - - name: EXTRA_LAUNCH_ARGS - value: "--listen --verbose --api" - ports: - - containerPort: 7860 - - containerPort: 5000 # Api port - - containerPort: 5005 - volumeMounts: - - name: config-volume - mountPath: /app/characters - subPath: characters - - name: config-volume - mountPath: /app/loras - subPath: loras - - name: config-volume - mountPath: /app/models - subPath: models - - name: config-volume - mountPath: /app/presets - subPath: presets - - name: config-volume - mountPath: /app/prompts - subPath: prompts - - name: config-volume - mountPath: /app/training - subPath: training - - resources: - limits: - nvidia.com/gpu: 1 - volumes: - - name: config-volume - persistentVolumeClaim: - claimName: text-gen-pvc diff --git a/text-ui/text-ui-pvc.yaml b/text-ui/text-ui-pvc.yaml deleted file mode 100644 index bf34b21..0000000 --- a/text-ui/text-ui-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: text-gen-pvc - namespace: text-gen-ns -spec: - accessModes: - - ReadWriteMany - storageClassName: longhorn - resources: - requests: - storage: 100Gi diff --git a/text-ui/text-ui-service.yaml b/text-ui/text-ui-service.yaml deleted file mode 100644 index 8fc5090..0000000 --- a/text-ui/text-ui-service.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: text-generation-webui-service - namespace: text-gen-ns -spec: - type: LoadBalancer - ports: - - name: web - port: 7860 - targetPort: 7860 - - name: api - port: 5000 - targetPort: 5000 - - name: stream - port: 5005 - targetPort: 5005 - selector: - app: text-generation-webui