2023-07-24 13:29:47 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0@sha256:f87e5c760a4a4d0d0cbf2b4999591b543937fd895cf7a00cb3cccc923ea3676b
|
2023-07-24 13:29:47 +00:00
|
|
|
ffmpegImage:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0-ffmpeg@sha256:f1a624383c66bc45531f4429faa0dc737b713444c1dbb44d15f70e6d884b2c4a
|
2023-07-24 13:29:47 +00:00
|
|
|
cublasCuda12Image:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0-cublas-cuda12@sha256:dd4b1e8d1d665c9672c35ca72da0de0305c3a0ee4dd5b2a4a0cb192216240f8c
|
2023-07-24 13:29:47 +00:00
|
|
|
cublasCuda12FfmpegImage:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0-cublas-cuda12-ffmpeg@sha256:715098f264e5f9130efc74db72326173b7cac58ceb372514c8084bdc02e079c1
|
2023-07-24 13:29:47 +00:00
|
|
|
cublasCuda11Image:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0-cublas-cuda11@sha256:7c84ecf3e5c2ba07009b00bb6e0ff0cd2e392f5c635af7753e16c99b45a55fb1
|
2023-07-24 13:29:47 +00:00
|
|
|
cublasCuda11FfmpegImage:
|
2023-11-18 10:48:35 +00:00
|
|
|
repository: quay.io/go-skynet/local-ai
|
2023-07-24 13:29:47 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-12-25 00:54:43 +00:00
|
|
|
tag: v2.2.0-cublas-cuda11-ffmpeg@sha256:5d80034e465cb1113380c9bde582d53d5c1d75725a7ef376cb2fd1c03fce84d3
|
2023-07-24 13:29:47 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
port: 8080
|
|
|
|
localai:
|
|
|
|
# Specify a build type. Available: cublas, openblas, clblas.
|
|
|
|
build_type: "openblas"
|
2023-09-16 10:45:17 +00:00
|
|
|
debug: false
|
2023-07-24 13:29:47 +00:00
|
|
|
cors: true
|
|
|
|
cors_allow_origins: "*"
|
2023-09-16 10:45:17 +00:00
|
|
|
galleries: []
|
|
|
|
# - name: model-gallery
|
|
|
|
# url: github:go-skynet/model-gallery/index.yaml
|
|
|
|
preload_models: []
|
|
|
|
# url: github:go-skynet/model-gallery/gpt4all-j.yaml
|
2023-07-24 13:29:47 +00:00
|
|
|
# UPLOAD_LIMIT
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /readyz
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /readyz
|
|
|
|
startup:
|
|
|
|
enabled: true
|
2023-09-16 10:45:17 +00:00
|
|
|
type: tcp
|
2023-07-24 13:29:47 +00:00
|
|
|
imageSelector: image
|
|
|
|
env:
|
|
|
|
ADDRESS: ":{{ .Values.service.main.ports.main.port }}"
|
|
|
|
MODELS_PATH: "{{ .Values.persistence.models.mountPath }}"
|
|
|
|
IMAGE_PATH: "{{ .Values.persistence.images.mountPath }}"
|
|
|
|
BUILD_TYPE: "{{ .Values.localai.build_type }}"
|
2023-09-16 10:45:17 +00:00
|
|
|
# breaks chart if true, keep it false.
|
|
|
|
REBUILD: false
|
2023-07-24 13:29:47 +00:00
|
|
|
DEBUG: "{{ .Values.localai.debug }}"
|
|
|
|
CORS: "{{ .Values.localai.cors }}"
|
2023-09-16 10:45:17 +00:00
|
|
|
GALLERIES: "{{ toJson .Values.localai.galleries }}"
|
|
|
|
PRELOAD_MODELS: "{{ toJson .Values.localai.preload_models }}"
|
2023-07-24 13:29:47 +00:00
|
|
|
CORS_ALLOW_ORIGINS: "{{ .Values.localai.cors_allow_origins }}"
|
|
|
|
persistence:
|
|
|
|
models:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/models"
|
|
|
|
images:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/images"
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|
2023-11-18 10:48:35 +00:00
|
|
|
updated: true
|