Compare commits

..

6 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
79626f0828 Merge pull request #16 from robrakaric/main
release: 2.0.2 helm-docs update, bumping version to include latest commits
2024-05-09 06:32:52 -10:00
robrakaric
8a192e7b2c helm-docs update, bumping version to include latest commits 2024-05-09 08:48:12 -07:00
Timothy Jaeryang Baek
a49a2f38ef Merge pull request #13 from abhishek-ch/missing_affinity
Added provision of affinity and env vars
2024-05-09 05:38:50 -10:00
abhishek-ch
126c544fd1 Refactored old affinity and extraEnv and updated in Deployment 2024-05-09 14:26:42 +02:00
abhishek-ch
387d200e1c fixed merge conflict and remove ollama related changes 2024-05-09 14:05:35 +02:00
abhishek-ch
6c7ebb5800 Added provision of affinity and env vars 2024-05-08 14:56:51 +02:00
4 changed files with 36 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 2.0.1
version: 2.0.2
appVersion: "latest"
home: https://www.openwebui.com/

View File

@@ -1,6 +1,6 @@
# open-webui
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
@@ -38,8 +38,10 @@ helm upgrade --install open-webui open-webui/open-webui
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Affinity for pod assignment |
| annotations | object | `{}` | |
| clusterDomain | string | `"cluster.local"` | Value of cluster domain |
| extraEnvVars | list | `[]` | Additional environments variables on the output Deployment definition. |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"ghcr.io/open-webui/open-webui"` | |
| image.tag | string | `""` | |
@@ -50,7 +52,7 @@ helm upgrade --install open-webui open-webui/open-webui
| ingress.host | string | `""` | |
| ingress.tls | bool | `false` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| nodeSelector | object | `{}` | Node labels for pod assignment. |
| ollama.enabled | bool | `true` | Automatically install Ollama Helm chart from https://otwld.github.io/ollama-helm/. Use [Helm Values](https://github.com/otwld/ollama-helm/#helm-values) to configure |
| ollamaUrls | list | `[]` | A list of Ollama API endpoints. These can be added in lieu of automatically installing the Ollama Helm chart, or in addition to it. |
| persistence.accessModes | list | `["ReadWriteOnce"]` | If using multiple replicas, you must update accessModes to ReadWriteMany |
@@ -70,7 +72,7 @@ helm upgrade --install open-webui open-webui/open-webui
| service.nodePort | string | `""` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |
| tolerations | list | `[]` | Tolerations for pod assignment |
----------------------------------------------

View File

@@ -42,11 +42,25 @@ spec:
env:
- name: OLLAMA_BASE_URLS
value: {{ include "ollamaBaseUrls" . | quote }}
{{- with .Values.extraEnvVars }}
{{- range . }}
- name: {{ .name }}
value: {{ .value | quote }}
{{- end }}
{{- end }}
tty: true
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data
@@ -59,4 +73,4 @@ spec:
- name: data
persistentVolumeClaim:
claimName: {{ include "open-webui.name" . }}
{{- end }}
{{- end }}

View File

@@ -9,7 +9,7 @@ ollama:
# enabled: true
# type: 'nvidia'
# number: 1
# models:
# models:
# - llama3
# runtimeClassName: nvidia
# persistentVolume:
@@ -49,8 +49,16 @@ persistence:
storageClass: ""
selector: {}
annotations: {}
# -- Node labels for pod assignment.
nodeSelector: {}
# -- Tolerations for pod assignment
tolerations: []
# -- Affinity for pod assignment
affinity: {}
service:
type: ClusterIP
annotations: {}
@@ -58,4 +66,9 @@ service:
containerPort: 8080
nodePort: ""
labels: {}
loadBalancerClass: ""
loadBalancerClass: ""
# -- Additional environments variables on the output Deployment definition.
extraEnvVars: []
# - name: OLLAMA_DEBUG
# value: "1"