2024-02-24 03:37:57 -05:00
|
|
|
image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 12:14:06 -04:00
|
|
|
tag: v2.12.3@sha256:4fd29a0f995c75c7fe60b2151950c07f20c0144d825473ed5c871d921bf78d6c
|
2024-02-24 03:37:57 -05:00
|
|
|
ffmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 08:01:49 -04:00
|
|
|
tag: v2.12.3-ffmpeg-core@sha256:e8443b179dbe89fc3d942efdc36761884076017f389cd3b7ff999ce6c3aa006d
|
2024-02-24 03:37:57 -05:00
|
|
|
cublasCuda12Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 08:01:49 -04:00
|
|
|
tag: v2.12.3-cublas-cuda12-core@sha256:80cfca4fd99651a8442bdddca479b20287573c97aeaf803158934b537907ee71
|
2024-02-24 03:37:57 -05:00
|
|
|
cublasCuda12FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 08:01:49 -04:00
|
|
|
tag: v2.12.3-cublas-cuda12-ffmpeg-core@sha256:8fbbbd11d788a18991546fa99007663ccd7dbf19ab9d5784981485af2652df9c
|
2024-02-24 03:37:57 -05:00
|
|
|
cublasCuda11Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 08:01:49 -04:00
|
|
|
tag: v2.12.3-cublas-cuda11-core@sha256:845bf97e7990646991fcfb4d2a4e2941c6f024c78647039e22322bde86a1916a
|
2024-02-24 03:37:57 -05:00
|
|
|
cublasCuda11FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-10 08:01:49 -04:00
|
|
|
tag: v2.12.3-cublas-cuda11-ffmpeg-core@sha256:5e1899f5d644242d488dc8dd5b6063b672e903759b1592c268b3d641a83d26db
|
2024-02-24 03:37:57 -05: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"
|
|
|
|
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
|