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
03409679
Commit
03409679
authored
Feb 16, 2024
by
braveokafor
Browse files
feat: added kubernetes persistent volume claim for webui
parent
4c3edd03
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
kubernetes/manifest/base/webui-deployment.yaml
kubernetes/manifest/base/webui-deployment.yaml
+8
-1
kubernetes/manifest/base/webui-pvc.yaml
kubernetes/manifest/base/webui-pvc.yaml
+12
-0
No files found.
kubernetes/manifest/base/webui-deployment.yaml
View file @
03409679
...
...
@@ -26,3 +26,10 @@ spec:
-
name
:
OLLAMA_API_BASE_URL
value
:
"
http://ollama-service.ollama-namespace.svc.cluster.local:11434/api"
tty
:
true
volumeMounts
:
-
name
:
webui-volume
mountPath
:
/app/backend/data
volumes
:
-
name
:
webui-volume
persistentVolumeClaim
:
claimName
:
ollama-webui-pvc
\ No newline at end of file
kubernetes/manifest/base/webui-pvc.yaml
0 → 100644
View file @
03409679
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
labels
:
app
:
ollama-webui
name
:
ollama-webui-pvc
namespace
:
ollama-namespace
spec
:
accessModes
:
[
"
ReadWriteOnce"
]
resources
:
requests
:
storage
:
1Gi
\ No newline at end of file
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