From 3ca3abbfeaee72e3c9059618621025173024cc10 Mon Sep 17 00:00:00 2001 From: nold Date: Sat, 16 Mar 2024 13:12:02 +0100 Subject: [PATCH] del(ovos) --- projects/ovos/lai.sh | 14 ----- projects/ovos/project.yaml | 13 ---- projects/ovos/values/ovos-stt-server.yml | 68 --------------------- projects/ovos/values/ovos-tts-server.yml | 75 ------------------------ 4 files changed, 170 deletions(-) delete mode 100644 projects/ovos/lai.sh delete mode 100644 projects/ovos/project.yaml delete mode 100644 projects/ovos/values/ovos-stt-server.yml delete mode 100644 projects/ovos/values/ovos-tts-server.yml diff --git a/projects/ovos/lai.sh b/projects/ovos/lai.sh deleted file mode 100644 index 16d848f1..00000000 --- a/projects/ovos/lai.sh +++ /dev/null @@ -1,14 +0,0 @@ -LOCALAI=https://ai.dc -if [ "$1" == "search" ] ; then - curl ${LOCALAI}/models/available | jq ".[] | select(.name | contains(\"${2}\")) | .name" -elif [ "$1" == "apply" ] ; then - STATUS_URL=$(curl -q $LOCALAI/models/apply -H "Content-Type: application/json" -d "{ \"id\": \"${2}\" }" | jq -r .status) - STATUS=$(curl -q $STATUS_URL | jq -r .message) - while [ "$STATUS" != "completed" ] ; do - STATUS=$(curl -q $STATUS_URL | jq -r .message) - echo $STATUS - sleep 5 - done -elif [ "$1" == "list" ] ; then - curl -q $LOCALAI/models | jq . -fi diff --git a/projects/ovos/project.yaml b/projects/ovos/project.yaml deleted file mode 100644 index e8c349e3..00000000 --- a/projects/ovos/project.yaml +++ /dev/null @@ -1,13 +0,0 @@ -config: - description: OpenVoice OS Services - -apps: -- name: ovos-tts-server - repo: bjw-s - chart: app-template - targetRevision: 2.4.0 - -- name: ovos-stt-server - repo: bjw-s - chart: app-template - targetRevision: 2.4.0 diff --git a/projects/ovos/values/ovos-stt-server.yml b/projects/ovos/values/ovos-stt-server.yml deleted file mode 100644 index 1db05577..00000000 --- a/projects/ovos/values/ovos-stt-server.yml +++ /dev/null @@ -1,68 +0,0 @@ -controllers: - main: - containers: - main: - image: - repository: smartgic/ovos-stt-server-fasterwhisper - tag: alpha - pullPolicy: Always - - env: - ## VECTOR_DB: "lancedb" - -ingress: - main: - enabled: true - annotations: - cert-manager.io/cluster-issuer: vault-issuer - hosts: - - host: ovos-stt-server.dc - paths: - - path: / - service: - name: main - port: http - tls: - - hosts: - - ovos-stt-server.dc - secretName: ovos-stt-server-tls - -configMaps: - config: - enabled: true - data: - mycroft.conf: | - { - "stt": { - "module": "ovos-stt-plugin-fasterwhisper", - "ovos-stt-plugin-fasterwhisper": { - "model": "medium", - "cpu_threads": 8 - } - } - } - - -persistence: - config: - type: configMap - enabled: true - name: ovos-stt-server-config - advancedMounts: - main: - main: - - path: /home/ovos/.config/mycroft/mycroft.conf - readOnly: true - subPath: mycroft.conf - - -securityContext: - privileged: false - -service: - main: - ports: - http: - enabled: true - port: 8080 - type: ClusterIP diff --git a/projects/ovos/values/ovos-tts-server.yml b/projects/ovos/values/ovos-tts-server.yml deleted file mode 100644 index e7ba420f..00000000 --- a/projects/ovos/values/ovos-tts-server.yml +++ /dev/null @@ -1,75 +0,0 @@ -controllers: - main: - containers: - main: - image: - repository: docker.io/smartgic/ovos-tts-server-piper - tag: alpha - pullPolicy: Always - - env: - # GID='1000' - -ingress: - main: - annotations: - cert-manager.io/cluster-issuer: vault-issuer - enabled: true - hosts: - - host: ovos-tts-server.dc - paths: - - path: / - service: - name: main - port: http - tls: - - hosts: - - ovos-tts-server.dc - secretName: ovos-tts-server-tls - -configMaps: - config: - enabled: true - data: - mycroft.conf: | - { - "tts": { - "module": "ovos-tts-plugin-piper", - "ovos-tts-plugin-piper": { - "model": "alan-low" - } - } - } - -persistence: - data: - type: persistentVolumeClaim - enabled: true - size: 2Gi - storageClass: ssd - accessMode: ReadWriteOnce - globalMounts: - - path: /home/ovos/.local/share/piper_tts - - config: - type: configMap - enabled: true - name: ovos-tts-server-config - advancedMounts: - main: - main: - - path: /home/ovos/.config/mycroft/mycroft.conf - readOnly: true - subPath: mycroft.conf - - -securityContext: - privileged: false - -service: - main: - ports: - http: - enabled: true - port: 9666 - type: ClusterIP