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-05 12:26:09 +00:00
|
|
|
tag: v2.0.0@sha256:04eb683c6b98d0a360ebe484ab61b4f18987c50dd237e09ceb258540dd2af252
|
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-05 00:42:22 +00:00
|
|
|
tag: v2.0.0-ffmpeg@sha256:9d3d901f1a14b6ddea7df0d9f7b21250bcf4f4f0b440494c7e2936083a7ce8eb
|
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-05 06:33:29 +00:00
|
|
|
tag: v2.0.0-cublas-cuda12@sha256:efe02b8ef07e6f4587ef4f0edc01abe079f095275bbcd23d61231a69300c0d1f
|
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-05 18:29:19 +00:00
|
|
|
tag: v2.0.0-cublas-cuda12-ffmpeg@sha256:5095b9994308a873439eb89ced6295cb5a77744728b2d81fe07c6d40d5eb58c2
|
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-05 06:33:29 +00:00
|
|
|
tag: v2.0.0-cublas-cuda11@sha256:5ab5bff0c91b63c37fdea414e04b47c9d61d9320206cd0017444ab64fbb39a59
|
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-05 18:29:19 +00:00
|
|
|
tag: v2.0.0-cublas-cuda11-ffmpeg@sha256:75cfaa129023058185d4619324fb5679f20bf49f4078c13f5f61f25d46beab85
|
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
|