90 lines
2.8 KiB
YAML
90 lines
2.8 KiB
YAML
image:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2@sha256:7fea9bf502d71fd5330cd5d3e7e4910db484cfe97a56431d84c113ee03ef4546
|
|
ffmpegImage:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2-ffmpeg-core@sha256:f7bdc8d64650d33a09b6a13f5cbddb59a807908fc2afecde29edf4ac56b6c6f7
|
|
cublasCuda12Image:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2-cublas-cuda12-core@sha256:6e9fdcbd8ee69962a411114b60622da1bb800b28c0d9f86a459f40f94816848c
|
|
cublasCuda12FfmpegImage:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2-cublas-cuda12-ffmpeg-core@sha256:09c3531e2904f883f9580b40070a3ed84e71fbce08a7c5c5ecc095cb6f5030ad
|
|
cublasCuda11Image:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2-cublas-cuda11-core@sha256:9df853000abb7bdb15cac5239077694289c2bda8da19067d9b434e61755c06c3
|
|
cublasCuda11FfmpegImage:
|
|
repository: docker.io/localai/localai
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.8.2-cublas-cuda11-ffmpeg-core@sha256:74b285bc21afd8ce90571bdbfa47d5aba7021a23f43bc99968cc606e52759e84
|
|
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
|