2024-04-29 12:41:56 +00:00
|
|
|
image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0@sha256:f178386280eae4d915d48de80d03e4d5b709852431817d853494f3a8f5ce6e6a
|
2024-04-29 12:41:56 +00:00
|
|
|
ffmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0-ffmpeg-core@sha256:20f1e32ff97ede872d991bfff0e83715ad5fa445622b071411a4b4c9f314d21f
|
2024-04-29 12:41:56 +00:00
|
|
|
cublasCuda12Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0-cublas-cuda12-core@sha256:beb4f95ede70167f0c41dd1df35507dda19dd09303333f81566d59f3429e7cfd
|
2024-04-29 12:41:56 +00:00
|
|
|
cublasCuda12FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0-cublas-cuda12-ffmpeg-core@sha256:632e670c7a32f16297c9266032a1e532378e47a664cbf3e74b042a814acc05df
|
2024-04-29 12:41:56 +00:00
|
|
|
cublasCuda11Image:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0-cublas-cuda11-core@sha256:faa246d9845d203e12430436754d553f6f43a88846b5e8a91b4bef2040295cf9
|
2024-04-29 12:41:56 +00:00
|
|
|
cublasCuda11FfmpegImage:
|
|
|
|
repository: docker.io/localai/localai
|
|
|
|
pullPolicy: IfNotPresent
|
2024-05-10 01:05:15 +00:00
|
|
|
tag: v2.15.0-cublas-cuda11-ffmpeg-core@sha256:0c973cfcf2ba9fe74342f07645e25a58afdd5476c756a6f1c96f7ce9d11798a1
|
2024-04-29 12:41:56 +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
|