TrueChartsClone/charts/incubator/local-ai/values.yaml

97 lines
3.0 KiB
YAML

image:
repository: tccr.io/truecharts/local-ai
pullPolicy: IfNotPresent
tag: v1.21.0@sha256:ab2b3e391effc9a4c5bde8add39e060e9b46558491599550bbb423da191f0461
ffmpegImage:
repository: tccr.io/truecharts/local-ai-ffmpeg
pullPolicy: IfNotPresent
tag: v1.21.0@sha256:bdf5ad52dd91f7eb45f231172c38c08716000c2a0dcdd5f029e939ac78076543
cublasCuda12Image:
repository: tccr.io/truecharts/local-ai-cublas-cuda12
pullPolicy: IfNotPresent
tag: v1.21.0-cublas@sha256:b081e33b37252b71ef5f2c1e78cbbb8530d850693cbcf853ced6d2a43c9d98be
cublasCuda12FfmpegImage:
repository: tccr.io/truecharts/local-ai-cublas-cuda12-ffmpeg
pullPolicy: IfNotPresent
tag: v1.21.0-cublas-cuda12@sha256:61f25376a200298898e8e47a2a98584fd8a1dd2206a6139cd42fa2686a7371f0
cublasCuda11Image:
repository: tccr.io/truecharts/local-ai-cublas-cuda11
pullPolicy: IfNotPresent
tag: v1.21.0-cublas@sha256:f62226611d79d7c3278ff51609d79d26f0da8aa399a2eb91a0e0e7e68e0a561b
cublasCuda11FfmpegImage:
repository: tccr.io/truecharts/local-ai-cublas-cuda11-ffmpeg
pullPolicy: IfNotPresent
tag: v1.21.0-cublas-cuda11@sha256:09935552112e52bc40fb11a106c54132c8fc8f1b534a04c4cd3580082f4339f1
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"
rebuild: false
# requires REBUILD=true | stablediffusion, tts
# stablediffusion: image generation with stablediffusion
# tts: enables text-to-speech with go-piper
go_tags: "stablediffusion"
context_size: "512"
debug: true
cors: true
cors_allow_origins: "*"
# galleries: [{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.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: http
path: /readyz
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 }}"
REBUILD: "{{ .Values.localai.rebuild }}"
GO_TAGS: "{{ .Values.localai.go_tags }}"
CONTEXT_SIZE: "{{ .Values.localai.context_size }}"
DEBUG: "{{ .Values.localai.debug }}"
CORS: "{{ .Values.localai.cors }}"
CORS_ALLOW_ORIGINS: "{{ .Values.localai.cors_allow_origins }}"
persistence:
models:
enabled: true
mountPath: "/models"
images:
enabled: true
mountPath: "/images"
portal:
open:
enabled: false