Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
cb291611
Unverified
Commit
cb291611
authored
Feb 19, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Feb 19, 2024
Browse files
Merge pull request #768 from bjornjorgensen/rename-to-open-webui
Rename to `open-webui`
parents
b793b5ae
c4bd1759
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
36 additions
and
36 deletions
+36
-36
kubernetes/helm/Chart.yaml
kubernetes/helm/Chart.yaml
+3
-3
kubernetes/helm/templates/webui-deployment.yaml
kubernetes/helm/templates/webui-deployment.yaml
+5
-5
kubernetes/helm/templates/webui-ingress.yaml
kubernetes/helm/templates/webui-ingress.yaml
+2
-2
kubernetes/helm/templates/webui-pvc.yaml
kubernetes/helm/templates/webui-pvc.yaml
+2
-2
kubernetes/helm/templates/webui-service.yaml
kubernetes/helm/templates/webui-service.yaml
+2
-2
kubernetes/helm/values.yaml
kubernetes/helm/values.yaml
+3
-3
kubernetes/manifest/base/ollama-service.yaml
kubernetes/manifest/base/ollama-service.yaml
+1
-1
kubernetes/manifest/base/ollama-statefulset.yaml
kubernetes/manifest/base/ollama-statefulset.yaml
+1
-1
kubernetes/manifest/base/open-webui.yaml
kubernetes/manifest/base/open-webui.yaml
+1
-1
kubernetes/manifest/base/webui-deployment.yaml
kubernetes/manifest/base/webui-deployment.yaml
+7
-7
kubernetes/manifest/base/webui-ingress.yaml
kubernetes/manifest/base/webui-ingress.yaml
+4
-4
kubernetes/manifest/base/webui-service.yaml
kubernetes/manifest/base/webui-service.yaml
+3
-3
kubernetes/manifest/kustomization.yaml
kubernetes/manifest/kustomization.yaml
+1
-1
kubernetes/manifest/patches/ollama-statefulset-gpu.yaml
kubernetes/manifest/patches/ollama-statefulset-gpu.yaml
+1
-1
No files found.
kubernetes/helm/Chart.yaml
View file @
cb291611
apiVersion
:
v2
apiVersion
:
v2
name
:
o
llama
-webui
name
:
o
pen
-webui
description
:
"
O
llama
Web
UI:
A
User-Friendly
Web
Interface
for
Chat
Interactions
👋"
description
:
"
O
pen
WebUI:
A
User-Friendly
Web
Interface
for
Chat
Interactions
👋"
version
:
1.0.0
version
:
1.0.0
icon
:
https://raw.githubusercontent.com/o
llama
-webui/o
llama
-webui/main/static/favicon.png
icon
:
https://raw.githubusercontent.com/o
pen
-webui/o
pen
-webui/main/static/favicon.png
kubernetes/helm/templates/webui-deployment.yaml
View file @
cb291611
apiVersion
:
apps/v1
apiVersion
:
apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
o
llama
-webui-deployment
name
:
o
pen
-webui-deployment
namespace
:
{{
.Values.namespace
}}
namespace
:
{{
.Values.namespace
}}
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
o
llama
-webui
app
:
o
pen
-webui
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
app
:
o
llama
-webui
app
:
o
pen
-webui
spec
:
spec
:
containers
:
containers
:
-
name
:
o
llama
-webui
-
name
:
o
pen
-webui
image
:
{{
.Values.webui.image
}}
image
:
{{
.Values.webui.image
}}
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
...
@@ -35,4 +35,4 @@ spec:
...
@@ -35,4 +35,4 @@ spec:
volumes
:
volumes
:
-
name
:
webui-volume
-
name
:
webui-volume
persistentVolumeClaim
:
persistentVolumeClaim
:
claimName
:
ollama-webui-pvc
claimName
:
open-webui-pvc
\ No newline at end of file
\ No newline at end of file
kubernetes/helm/templates/webui-ingress.yaml
View file @
cb291611
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
apiVersion
:
networking.k8s.io/v1
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
kind
:
Ingress
metadata
:
metadata
:
name
:
o
llama
-webui-ingress
name
:
o
pen
-webui-ingress
namespace
:
{{
.Values.namespace
}}
namespace
:
{{
.Values.namespace
}}
{{
- if .Values.webui.ingress.annotations
}}
{{
- if .Values.webui.ingress.annotations
}}
annotations
:
annotations
:
...
@@ -17,7 +17,7 @@ spec:
...
@@ -17,7 +17,7 @@ spec:
pathType
:
Prefix
pathType
:
Prefix
backend
:
backend
:
service
:
service
:
name
:
o
llama
-webui-service
name
:
o
pen
-webui-service
port
:
port
:
number
:
{{
.Values.webui.servicePort
}}
number
:
{{
.Values.webui.servicePort
}}
{{
- end
}}
{{
- end
}}
kubernetes/helm/templates/webui-pvc.yaml
View file @
cb291611
...
@@ -2,8 +2,8 @@ apiVersion: v1
...
@@ -2,8 +2,8 @@ apiVersion: v1
kind
:
PersistentVolumeClaim
kind
:
PersistentVolumeClaim
metadata
:
metadata
:
labels
:
labels
:
app
:
o
llama
-webui
app
:
o
pen
-webui
name
:
o
llama
-webui-pvc
name
:
o
pen
-webui-pvc
namespace
:
{{
.Values.namespace
}}
namespace
:
{{
.Values.namespace
}}
spec
:
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
accessModes
:
[
"
ReadWriteOnce"
]
...
...
kubernetes/helm/templates/webui-service.yaml
View file @
cb291611
apiVersion
:
v1
apiVersion
:
v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
o
llama
-webui-service
name
:
o
pen
-webui-service
namespace
:
{{
.Values.namespace
}}
namespace
:
{{
.Values.namespace
}}
spec
:
spec
:
type
:
{{
.Values.webui.service.type
}}
# Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
type
:
{{
.Values.webui.service.type
}}
# Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
selector
:
selector
:
app
:
o
llama
-webui
app
:
o
pen
-webui
ports
:
ports
:
-
protocol
:
TCP
-
protocol
:
TCP
port
:
{{
.Values.webui.servicePort
}}
port
:
{{
.Values.webui.servicePort
}}
...
...
kubernetes/helm/values.yaml
View file @
cb291611
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
ollama
:
ollama
:
replicaCount
:
1
replicaCount
:
1
...
@@ -22,7 +22,7 @@ ollama:
...
@@ -22,7 +22,7 @@ ollama:
webui
:
webui
:
replicaCount
:
1
replicaCount
:
1
image
:
ghcr.io/o
llama
-webui/o
llama
-webui:main
image
:
ghcr.io/o
pen
-webui/o
pen
-webui:main
servicePort
:
8080
servicePort
:
8080
resources
:
resources
:
requests
:
requests
:
...
@@ -36,7 +36,7 @@ webui:
...
@@ -36,7 +36,7 @@ webui:
annotations
:
annotations
:
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
# nginx.ingress.kubernetes.io/rewrite-target: /
# nginx.ingress.kubernetes.io/rewrite-target: /
host
:
o
llama
.minikube.local
host
:
o
pen-webui
.minikube.local
volumeSize
:
2Gi
volumeSize
:
2Gi
nodeSelector
:
{}
nodeSelector
:
{}
tolerations
:
[]
tolerations
:
[]
...
...
kubernetes/manifest/base/ollama-service.yaml
View file @
cb291611
...
@@ -2,7 +2,7 @@ apiVersion: v1
...
@@ -2,7 +2,7 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
ollama-service
name
:
ollama-service
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
spec
:
spec
:
selector
:
selector
:
app
:
ollama
app
:
ollama
...
...
kubernetes/manifest/base/ollama-statefulset.yaml
View file @
cb291611
...
@@ -2,7 +2,7 @@ apiVersion: apps/v1
...
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind
:
StatefulSet
kind
:
StatefulSet
metadata
:
metadata
:
name
:
ollama
name
:
ollama
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
spec
:
spec
:
serviceName
:
"
ollama"
serviceName
:
"
ollama"
replicas
:
1
replicas
:
1
...
...
kubernetes/manifest/base/o
llama-namespace
.yaml
→
kubernetes/manifest/base/o
pen-webui
.yaml
View file @
cb291611
apiVersion
:
v1
apiVersion
:
v1
kind
:
Namespace
kind
:
Namespace
metadata
:
metadata
:
name
:
ollama-namespace
name
:
open-webui
\ No newline at end of file
\ No newline at end of file
kubernetes/manifest/base/webui-deployment.yaml
View file @
cb291611
apiVersion
:
apps/v1
apiVersion
:
apps/v1
kind
:
Deployment
kind
:
Deployment
metadata
:
metadata
:
name
:
o
llama
-webui-deployment
name
:
o
pen
-webui-deployment
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
spec
:
spec
:
replicas
:
1
replicas
:
1
selector
:
selector
:
matchLabels
:
matchLabels
:
app
:
o
llama
-webui
app
:
o
pen
-webui
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
app
:
o
llama
-webui
app
:
o
pen
-webui
spec
:
spec
:
containers
:
containers
:
-
name
:
o
llama
-webui
-
name
:
o
pen
-webui
image
:
ghcr.io/o
llama
-webui/o
llama
-webui:main
image
:
ghcr.io/o
pen
-webui/o
pen
-webui:main
ports
:
ports
:
-
containerPort
:
8080
-
containerPort
:
8080
resources
:
resources
:
...
@@ -27,7 +27,7 @@ spec:
...
@@ -27,7 +27,7 @@ spec:
memory
:
"
1Gi"
memory
:
"
1Gi"
env
:
env
:
-
name
:
OLLAMA_API_BASE_URL
-
name
:
OLLAMA_API_BASE_URL
value
:
"
http://ollama-service.o
llama-namespace
.svc.cluster.local:11434/api"
value
:
"
http://ollama-service.o
pen-webui
.svc.cluster.local:11434/api"
tty
:
true
tty
:
true
volumeMounts
:
volumeMounts
:
-
name
:
webui-volume
-
name
:
webui-volume
...
...
kubernetes/manifest/base/webui-ingress.yaml
View file @
cb291611
apiVersion
:
networking.k8s.io/v1
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
kind
:
Ingress
metadata
:
metadata
:
name
:
o
llama
-webui-ingress
name
:
o
pen
-webui-ingress
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
#annotations:
#annotations:
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
# Use appropriate annotations for your Ingress controller, e.g., for NGINX:
# nginx.ingress.kubernetes.io/rewrite-target: /
# nginx.ingress.kubernetes.io/rewrite-target: /
spec
:
spec
:
rules
:
rules
:
-
host
:
o
llama
.minikube.local
-
host
:
o
pen-webui
.minikube.local
http
:
http
:
paths
:
paths
:
-
path
:
/
-
path
:
/
pathType
:
Prefix
pathType
:
Prefix
backend
:
backend
:
service
:
service
:
name
:
o
llama
-webui-service
name
:
o
pen
-webui-service
port
:
port
:
number
:
8080
number
:
8080
kubernetes/manifest/base/webui-service.yaml
View file @
cb291611
apiVersion
:
v1
apiVersion
:
v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
o
llama
-webui-service
name
:
o
pen
-webui-service
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
spec
:
spec
:
type
:
NodePort
# Use LoadBalancer if you're on a cloud that supports it
type
:
NodePort
# Use LoadBalancer if you're on a cloud that supports it
selector
:
selector
:
app
:
o
llama
-webui
app
:
o
pen
-webui
ports
:
ports
:
-
protocol
:
TCP
-
protocol
:
TCP
port
:
8080
port
:
8080
...
...
kubernetes/manifest/kustomization.yaml
View file @
cb291611
resources
:
resources
:
-
base/o
llama-namespace
.yaml
-
base/o
pen-webui
.yaml
-
base/ollama-service.yaml
-
base/ollama-service.yaml
-
base/ollama-statefulset.yaml
-
base/ollama-statefulset.yaml
-
base/webui-deployment.yaml
-
base/webui-deployment.yaml
...
...
kubernetes/manifest/patches/ollama-statefulset-gpu.yaml
View file @
cb291611
...
@@ -2,7 +2,7 @@ apiVersion: apps/v1
...
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind
:
StatefulSet
kind
:
StatefulSet
metadata
:
metadata
:
name
:
ollama
name
:
ollama
namespace
:
o
llama-namespace
namespace
:
o
pen-webui
spec
:
spec
:
selector
:
selector
:
matchLabels
:
matchLabels
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment