Skip to content

Commit

Permalink
feat(helm): install ollama ui
Browse files Browse the repository at this point in the history
  • Loading branch information
willianpaixao committed Oct 13, 2024
1 parent b98b2af commit 9c63f2c
Showing 1 changed file with 51 additions and 3 deletions.
54 changes: 51 additions & 3 deletions kubernetes/turing/ollama/ollama/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ spec:
operator: DoesNotExist
controllers:
ollama:
type: deployment
strategy: Recreate
annotations:
reloader.stakater.com/auto: "true"
Expand All @@ -58,12 +57,50 @@ spec:
enabled: true
startup:
enabled: false
ui:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/open-webui/open-webui
tag: "v0.3.32"
env:
DATA_DIR: /data
OLLAMA_BASE_URL: http://ollama.ollama.svc.cluster.local:11434
RAG_EMBEDDING_ENGINE: ollama
WEBUI_NAME: Ollama
WEBUI_URL: https://ollama.${SECRET_DOMAIN}
service:
app:
controller: *app
ollama:
controller: ollama
ports:
http:
port: &port 11434
ui:
controller: ui
ports:
http:
port: &port 8080
ingress:
app:
enabled: true
className: internal
annotations:
gethomepage.dev/enabled: "true"
gethomepage.dev/name: Ollama
gethomepage.dev/group: AI
ingress.kubernetes.io/proxy-body-size: 10m
hosts:
- host: &host ollama.${SECRET_DOMAIN}
paths:
- path: /
service:
identifier: ui
port: http
tls:
- hosts:
- *host
persistence:
models:
enabled: true
Expand All @@ -76,3 +113,14 @@ spec:
- path: /models
labels:
recurring-job-group.longhorn.io/backup: enabled
ui:
enabled: true
type: persistentVolumeClaim
accessMode: ReadWriteOnce
size: 8Gi
advancedMounts:
ui:
app:
- path: /data
labels:
recurring-job-group.longhorn.io/backup: enabled

0 comments on commit 9c63f2c

Please sign in to comment.