90 lines
2.8 KiB
YAML
90 lines
2.8 KiB
YAML
image:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0@sha256:04eb683c6b98d0a360ebe484ab61b4f18987c50dd237e09ceb258540dd2af252
|
|
ffmpegImage:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0-ffmpeg@sha256:9d3d901f1a14b6ddea7df0d9f7b21250bcf4f4f0b440494c7e2936083a7ce8eb
|
|
cublasCuda12Image:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0-cublas-cuda12@sha256:efe02b8ef07e6f4587ef4f0edc01abe079f095275bbcd23d61231a69300c0d1f
|
|
cublasCuda12FfmpegImage:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0-cublas-cuda12-ffmpeg@sha256:5095b9994308a873439eb89ced6295cb5a77744728b2d81fe07c6d40d5eb58c2
|
|
cublasCuda11Image:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0-cublas-cuda11@sha256:5ab5bff0c91b63c37fdea414e04b47c9d61d9320206cd0017444ab64fbb39a59
|
|
cublasCuda11FfmpegImage:
|
|
repository: quay.io/go-skynet/local-ai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.0.0-cublas-cuda11-ffmpeg@sha256:75cfaa129023058185d4619324fb5679f20bf49f4078c13f5f61f25d46beab85
|
|
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"
|
|
debug: false
|
|
cors: true
|
|
cors_allow_origins: "*"
|
|
galleries: []
|
|
# - name: model-gallery
|
|
# url: github:go-skynet/model-gallery/index.yaml
|
|
preload_models: []
|
|
# url: github:go-skynet/model-gallery/gpt4all-j.yaml
|
|
# 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
|
|
type: tcp
|
|
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 }}"
|
|
# breaks chart if true, keep it false.
|
|
REBUILD: false
|
|
DEBUG: "{{ .Values.localai.debug }}"
|
|
CORS: "{{ .Values.localai.cors }}"
|
|
GALLERIES: "{{ toJson .Values.localai.galleries }}"
|
|
PRELOAD_MODELS: "{{ toJson .Values.localai.preload_models }}"
|
|
CORS_ALLOW_ORIGINS: "{{ .Values.localai.cors_allow_origins }}"
|
|
persistence:
|
|
models:
|
|
enabled: true
|
|
mountPath: "/models"
|
|
images:
|
|
enabled: true
|
|
mountPath: "/images"
|
|
portal:
|
|
open:
|
|
enabled: false
|
|
updated: true
|