mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #1299] [MERGED] K8s fixes #20629
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1299
Author: @jannikstdl
Created: 3/25/2024
Status: ✅ Merged
Merged: 3/26/2024
Merged by: @tjbck
Base:
dev← Head:k8s-pvc-naming-fix📝 Commits (6)
1d64d31Updated PVC namingc91c954Changed allocation in webui-deployment.yaml8962d94Check if running on K8s to correctly allocate Ollama Base URLeecc7f3Deleted unused checksaf366cffix7f405c7refac: rename📊 Changes
3 files changed (+7 additions, -5 deletions)
View changed files
📝
backend/config.py(+4 -2)📝
kubernetes/manifest/base/webui-deployment.yaml(+1 -1)📝
kubernetes/manifest/base/webui-pvc.yaml(+2 -2)📄 Description
I configured a new Open WebUI instance on my K8S node and i noticed some points.
Changed
Added
OLLAMA_BASE_URLcheck inbackend/config.pyand allocatedhttp://host.docker.internal:11434which wont work on K8S. Added a check to set the right base URLhttp://ollama-service.open-webui.svc.cluster.local:11434when running on K8S🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.