mirror of
https://github.com/nold360/hive-apps
synced 2025-01-03 12:11:16 +00:00
add(local-ai): localai
This commit is contained in:
parent
6d6935c988
commit
25c4a5f7db
2 changed files with 139 additions and 0 deletions
9
projects/localai/project.yaml
Normal file
9
projects/localai/project.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
config:
|
||||
description: Go-Skynet! LocalAI
|
||||
|
||||
apps:
|
||||
- name: localai
|
||||
#repoURL: https://go-skynet.github.io/helm-charts/
|
||||
repoURL: https://cowboysysop.github.io/charts/
|
||||
chart: local-ai
|
||||
targetRevision: 1.5.0
|
130
projects/localai/values/localai.yaml
Normal file
130
projects/localai/values/localai.yaml
Normal file
|
@ -0,0 +1,130 @@
|
|||
image:
|
||||
## @param image.registry Image registry
|
||||
registry: quay.io
|
||||
|
||||
## @param image.repository Image repository
|
||||
repository: go-skynet/local-ai
|
||||
|
||||
## @param image.tag Image tag
|
||||
tag: v1.20.1-ffmpeg
|
||||
|
||||
## @param image.digest Image digest
|
||||
digest: ""
|
||||
|
||||
## @param image.pullPolicy Image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
podSecurityContext:
|
||||
fsGroup: 2000
|
||||
|
||||
## @param securityContext Container security context
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
#readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
|
||||
ingress:
|
||||
## @param ingress.enabled Enable ingress controller resource
|
||||
enabled: true
|
||||
|
||||
## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress
|
||||
ingressClassName: "ingress-internal"
|
||||
|
||||
## @param ingress.pathType Ingress path type
|
||||
pathType: ImplementationSpecific
|
||||
|
||||
## @param ingress.annotations Ingress annotations
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: vault-issuer
|
||||
traefik.ingress.kubernetes.io/router.tls: 'true'
|
||||
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
|
||||
## @param ingress.hosts[0].host Hostname to your LocalAI installation
|
||||
## @param ingress.hosts[0].paths Paths within the url structure
|
||||
hosts:
|
||||
- host: ai.dc
|
||||
paths:
|
||||
- /
|
||||
|
||||
## @param ingress.tls TLS configuration
|
||||
tls:
|
||||
- secretName: local-ai-tls
|
||||
hosts:
|
||||
- ai.dc
|
||||
|
||||
## @param resources CPU/Memory resource requests/limits
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
## @param extraArgs Additional container arguments
|
||||
extraArgs: {}
|
||||
# name: ""
|
||||
|
||||
## @param extraEnvVars Additional container environment variables
|
||||
extraEnvVars: []
|
||||
# - name: MY-NAME
|
||||
# value: "MY-VALUE"
|
||||
|
||||
## @param extraEnvVarsCM Name of existing ConfigMap containing additional container environment variables
|
||||
extraEnvVarsCM:
|
||||
|
||||
## @param extraEnvVarsSecret Name of existing Secret containing additional container environment variables
|
||||
extraEnvVarsSecret:
|
||||
|
||||
init:
|
||||
## @param init.securityContext Init security context
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
|
||||
## @param init.resources Init CPU/Memory resource requests/limits
|
||||
resources: {}
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
persistence:
|
||||
## @param persistence.enabled Enable persistence using PVC
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
storageClass: ssd
|
||||
|
||||
config:
|
||||
## @param config.galleries Model galleries
|
||||
galleries:
|
||||
- name: model-gallery
|
||||
url: github:go-skynet/model-gallery/index.yaml
|
||||
|
||||
## @param config.preloadModels Models to preload (configure liveness probe initial delay according to model download time)
|
||||
preloadModels:
|
||||
- id: model-gallery@text-embedding-ada-002
|
||||
- url: github:go-skynet/model-gallery/gpt4all-j.yaml
|
||||
name: gpt-3.5-turbo
|
||||
- id: model-gallery@stablediffusion
|
||||
- id: model-gallery@whisper-1
|
||||
- id: model-gallery@voice-en-us-kathleen-low
|
||||
|
||||
# FIXME:due to timeout during download
|
||||
readinessProbe:
|
||||
enabled: false
|
||||
|
||||
livenessProbe:
|
||||
enabled: false
|
Loading…
Reference in a new issue