Remove localai and big-agi
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-04-13 23:38:54 -04:00
parent a96c730b93
commit 5697177e15
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
8 changed files with 0 additions and 166 deletions

View File

@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: big-agi-ns

View File

@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: localai-ns

View File

@ -1,20 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: big-agi-deployment
namespace: big-agi-ns
spec:
replicas: 1
selector:
matchLabels:
app: big-agi
template:
metadata:
labels:
app: big-agi
spec:
containers:
- name: big-agi-container
image: ghcr.io/enricoros/big-agi
ports:
- containerPort: 3000

View File

@ -1,12 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: big-agi-service
namespace: big-agi-ns
spec:
type: LoadBalancer
ports:
- port: 3000
targetPort: 3000
selector:
app: big-agi

View File

@ -1,82 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: localai
namespace: localai-ns
spec:
replicas: 1
selector:
matchLabels:
app: localai
template:
metadata:
labels:
app: localai
spec:
runtimeClassName: nvidia
containers:
- name: localai
image: quay.io/go-skynet/local-ai:v2.11.0-cublas-cuda12-ffmpeg
ports:
- containerPort: 8080
env:
- name: GALLERIEIS
value: '[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]'
- name: DEBUG
value: "true"
- name: WATCHDOG_IDLE
value: "true"
- name: WATCHDOG_IDLE_TIMEOUT
value: "300m"
resources:
limits:
nvidia.com/gpu: 2
volumeMounts:
- mountPath: "/build/models"
name: models
- name: filebrowser
image: git.clortox.com/infrastructure/filebrowser:v1.0.1
ports:
- containerPort: 80
volumeMounts:
- name: models
mountPath: /srv
env:
#- name: ADMIN_PASS
# valueFrom:
# secretKeyRef:
# name: filebrowswer-secret
# key: ADMIN_PASS
#- name: DEFAULT_USERNAME
# value: "default"
#- name: DEFAULT_PASSWORD
# valueFrom:
# secretKeyRef:
# name: filebrowswer-secret
# key: DEFAULT_PASS
- name: BRANDING_NAME
value: "Model Files"
- name: AUTH_METHOD
value: "noauth"
#- name: AUTH_HEADER
# value: "X-Auth-User"
- name: PERM_ADMIN
value: "false"
- name: PERM_EXECUTE
value: "true"
- name: PERM_CREATE
value: "true"
- name: PERM_RENAME
value: "true"
- name: PERM_MODIFY
value: "true"
- name: PERM_DELETE
value: "true"
- name: PERM_SHARE
value: "false"
- name: PERM_DOWNLOAD
value: "true"
volumes:
- name: models
persistentVolumeClaim:
claimName: localai-pvc

View File

@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: localai-pvc
namespace: localai-ns
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 100Gi

View File

@ -1,18 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: localai
namespace: localai-ns
spec:
type: LoadBalancer
selector:
app: localai
ports:
- name: localai
port: 8080
targetPort: 8080
protocol: TCP
- name: filebrowswer
protocol: TCP
port: 80
targetPort: 80

View File

@ -1,15 +0,0 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: filebrowswer-secret
namespace: localai-ns
spec:
encryptedData:
ADMIN_PASS: AgAk9F2XnUWx2V/fJNlrGwoCNRpn9RjmKeR1Do8NMdwIWZNhRPdKXROgtdvQIhuxEMqWNmmGG//xhmb/gCkXfInh/5lnzqDZTB6JAi5VBaUfxw9LVqBY5vcyHNMXr9LQ9zhKf7lMVQct+3Z50mZqnulWElDpjjyPeeFjozI5Yp14Vvc9cDeWhNqTgv5O2Bf2syTTrqYBfvv1MiJi0pvVL4+jk7N44PpCbyUj/4shhrLmw1sO5JkT9MdSUMpGYFakrLIFXLpxFx67MPUeL6gttGzaPFve7vjDv2gGoZevNSB4PlerHrvtJ284HsK2U+eZuHJHdt1a67zYaYq5Bh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DQUpcDu979t5IcxPjzPglNwpBFegSGmR/4+Hn3rOjRcGCkDG87ZSrGkE1ljogXrWWZJQrZeQ==
template:
metadata:
creationTimestamp: null
name: filebrowswer-secret
namespace: localai-ns