2024-02-24 19:17:44 +00:00
|
|
|
image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-30 12:47:35 +00:00
|
|
|
tag: v2.11.0@sha256:30e75801ab3ef804022490fd41f89258d693981d0e4da201b7d051ab0466fb5c
|
2024-02-24 19:17:44 +00:00
|
|
|
ffmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-27 01:15:58 +00:00
|
|
|
tag: v2.11.0-ffmpeg-core@sha256:177bd1ddabdc58dc7748eed44aa429688462de2a0f14b29c2b427b3aa9687a97
|
2024-02-24 19:17:44 +00:00
|
|
|
cublasCuda12Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-27 01:15:58 +00:00
|
|
|
tag: v2.11.0-cublas-cuda12-core@sha256:129eedb6be229ab9b91e0a6d2ba653603371dccb1c870339a372d219afc3e199
|
2024-02-24 19:17:44 +00:00
|
|
|
cublasCuda12FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-27 01:15:58 +00:00
|
|
|
tag: v2.11.0-cublas-cuda12-ffmpeg-core@sha256:9b12db20f6b98a04822942df977d61b868e74bd2ddd7255f511c970d4e3a96be
|
2024-02-24 19:17:44 +00:00
|
|
|
cublasCuda11Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-27 01:15:58 +00:00
|
|
|
tag: v2.11.0-cublas-cuda11-core@sha256:ce89d16135d9812fd29c503643cec339fc917f4d79b1cabf87f1e99b04c4838b
|
2024-02-24 19:17:44 +00:00
|
|
|
cublasCuda11FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-27 01:15:58 +00:00
|
|
|
tag: v2.11.0-cublas-cuda11-ffmpeg-core@sha256:032b455321868d4471a1a0055cef3cccf2eba63eeaf96ad5cc517e85ca521632
|
2024-02-24 19:17:44 +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"
|
|
|
|
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
|