2024-01-26 22:43:57 +00:00
|
|
|
image:
|
|
|
|
repository: ollama/ollama
|
|
|
|
pullPolicy: IfNotPresent
|
2024-02-12 01:08:24 +00:00
|
|
|
tag: 0.1.24@sha256:bb575e1ebe018b89b5adb1a654967ae337c05109e942b7b32ce90d6d731bb641
|
2024-01-26 22:43:57 +00:00
|
|
|
uiImage:
|
|
|
|
repository: ghcr.io/ollama-webui/ollama-webui
|
|
|
|
pullPolicy: IfNotPresent
|
2024-01-29 12:24:34 +00:00
|
|
|
tag: main@sha256:06e060b8bf3f9d13c036cec749bea4cf3e9cc3e61a6cb33132d1776d3d57403d
|
2024-01-26 22:43:57 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
targetSelector: ui
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
targetPort: 8080
|
|
|
|
port: 10686
|
|
|
|
targetSelector: ui
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
targetSelector: main
|
|
|
|
ports:
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
protocol: http
|
2024-02-08 21:28:33 +00:00
|
|
|
targetPort: 11434
|
2024-01-26 22:43:57 +00:00
|
|
|
port: 11434
|
|
|
|
targetSelector: main
|
|
|
|
|
2024-02-08 21:28:33 +00:00
|
|
|
ingress:
|
|
|
|
api:
|
|
|
|
targetSelector:
|
|
|
|
api: api
|
|
|
|
|
2024-01-26 22:43:57 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
imageSelector: image
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
ui:
|
|
|
|
enabled: true
|
|
|
|
type: Deployment
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
ui:
|
|
|
|
primary: true
|
|
|
|
enabled: true
|
|
|
|
imageSelector: uiImage
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
env:
|
2024-02-08 21:28:33 +00:00
|
|
|
OLLAMA_API_BASE_URL: '{{ printf "http://%v-api:%v/api" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.api.ports.api.targetPort }}'
|
2024-01-26 22:43:57 +00: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
|