2024-01-09 13:13:05 -05:00
|
|
|
image:
|
|
|
|
repository: ollama/ollama
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 08:36:34 -04:00
|
|
|
tag: 0.1.31@sha256:89240fe728378aea6f35ed6ede1b7cf57b8cdb4df7a0bba1b7fcc32b60639af2
|
2024-04-02 00:48:18 -04:00
|
|
|
rocmImage:
|
|
|
|
repository: ollama/ollama
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 08:36:34 -04:00
|
|
|
tag: 0.1.31-rocm@sha256:89251251456cc44f3ddd9fd5c6bd7d7e2dfc9031b63edb4845d132af9155df6e
|
2024-01-09 13:13:05 -05:00
|
|
|
uiImage:
|
2024-03-11 07:09:25 -04:00
|
|
|
repository: ghcr.io/open-webui/open-webui
|
2024-01-09 13:13:05 -05:00
|
|
|
pullPolicy: IfNotPresent
|
2024-04-05 02:18:13 -04:00
|
|
|
tag: latest@sha256:f4b17695d4a3be96970ad8a061fbbcb5805b90636c501ebdba3553ba779f245c
|
2024-01-09 13:13:05 -05:00
|
|
|
|
2024-03-24 20:47:39 -04:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2024-01-09 13:13:05 -05:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
targetSelector: ui
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
port: 10686
|
|
|
|
targetSelector: ui
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
targetSelector: main
|
|
|
|
ports:
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
protocol: http
|
2024-02-08 16:24:58 -05:00
|
|
|
targetPort: 11434
|
2024-01-09 13:13:05 -05:00
|
|
|
port: 11434
|
|
|
|
targetSelector: main
|
|
|
|
|
2024-02-08 16:24:58 -05:00
|
|
|
ingress:
|
|
|
|
api:
|
2024-03-15 18:39:20 -04:00
|
|
|
enabled: false
|
2024-02-08 16:24:58 -05:00
|
|
|
targetSelector:
|
|
|
|
api: api
|
|
|
|
|
2024-03-24 20:47:39 -04:00
|
|
|
ollama:
|
|
|
|
registration:
|
|
|
|
enabled: true
|
|
|
|
# admin | user | pending
|
|
|
|
def_user_role: "pending"
|
|
|
|
stable_diffusion:
|
|
|
|
base_url: ""
|
|
|
|
whisper:
|
|
|
|
model: "base"
|
|
|
|
rag:
|
2024-03-30 08:23:36 -04:00
|
|
|
# cpu | cuda | mps
|
2024-03-24 20:47:39 -04:00
|
|
|
model_device_type: "cpu"
|
|
|
|
# embedding model
|
|
|
|
model: "all-MiniLM-L6-v2"
|
|
|
|
|
2024-01-09 13:13:05 -05:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
imageSelector: image
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.api.ports.api.targetPort }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.api.ports.api.targetPort }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.api.ports.api.targetPort }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
ui:
|
|
|
|
enabled: true
|
|
|
|
type: Deployment
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
ui:
|
|
|
|
primary: true
|
|
|
|
enabled: true
|
|
|
|
imageSelector: uiImage
|
2024-03-24 20:47:39 -04:00
|
|
|
resources:
|
|
|
|
excludeExtra: true
|
2024-01-09 13:13:05 -05:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
2024-03-15 18:39:20 -04:00
|
|
|
port: "{{ .Values.service.main.ports.main.port }}"
|
2024-01-09 13:13:05 -05:00
|
|
|
env:
|
2024-03-15 18:39:20 -04:00
|
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
|
|
OLLAMA_BASE_URL: '{{ printf "http://%v-api:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.api.ports.api.targetPort }}'
|
2024-02-21 16:28:08 -05:00
|
|
|
WEBUI_SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: ollama-secrets
|
|
|
|
key: WEBUI_SECRET_KEY
|
2024-03-24 20:47:39 -04:00
|
|
|
AUTOMATIC1111_BASE_URL: "{{ .Values.ollama.stable_diffusion.base_url }}"
|
|
|
|
ENABLE_SIGNUP: "{{ .Values.ollama.registration.enabled }}"
|
|
|
|
DEFAULT_USER_ROLE: "{{ .Values.ollama.registration.def_user_role }}"
|
|
|
|
WHISPER_MODEL: "{{ .Values.ollama.whisper.model }}"
|
|
|
|
RAG_EMBEDDING_MODEL: "{{ .Values.ollama.rag.model }}"
|
|
|
|
RAG_EMBEDDING_MODEL_DEVICE_TYPE: "{{ .Values.ollama.rag.model_device_type }}"
|
|
|
|
# OPENAI_API_BASE_URL
|
|
|
|
# OPENAI_API_KEY
|
|
|
|
# DEFAULT_MODELS
|
2024-01-09 13:13:05 -05:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: "/root/.ollama"
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
targetSelector:
|
|
|
|
ui:
|
|
|
|
ui:
|
|
|
|
mountPath: "/app/backend/data"
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|