[PR #1299] [MERGED] K8s fixes #20629

Closed
opened 2026-04-20 03:05:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: k8s-pvc-naming-fix


📝 Commits (6)

  • 1d64d31 Updated PVC naming
  • c91c954 Changed allocation in webui-deployment.yaml
  • 8962d94 Check if running on K8s to correctly allocate Ollama Base URL
  • eecc7f3 Deleted unused checks
  • af366cf fix
  • 7f405c7 refac: 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

  • Old naming of the Open WebUI PVC

Added

  • Sometimes the ENV allocated in the webui-deployment.yaml was overwritten by the OLLAMA_BASE_URL check in backend/config.py and allocated http://host.docker.internal:11434 which wont work on K8S. Added a check to set the right base URL http://ollama-service.open-webui.svc.cluster.local:11434 when running on K8S

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1299 **Author:** [@jannikstdl](https://github.com/jannikstdl) **Created:** 3/25/2024 **Status:** ✅ Merged **Merged:** 3/26/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `k8s-pvc-naming-fix` --- ### 📝 Commits (6) - [`1d64d31`](https://github.com/open-webui/open-webui/commit/1d64d31275c1c81b5c82ab5a3dcef4afd872d0e2) Updated PVC naming - [`c91c954`](https://github.com/open-webui/open-webui/commit/c91c95431d0741b69a10d332067f5d9459818fa3) Changed allocation in webui-deployment.yaml - [`8962d94`](https://github.com/open-webui/open-webui/commit/8962d948cd5fb77dbf0d899fca277055ad832d33) Check if running on K8s to correctly allocate Ollama Base URL - [`eecc7f3`](https://github.com/open-webui/open-webui/commit/eecc7f3529163dff30aeaa04609323bddedfbe2c) Deleted unused checks - [`af366cf`](https://github.com/open-webui/open-webui/commit/af366cf7320e72022360ad090b18db80cfbb6d0a) fix - [`7f405c7`](https://github.com/open-webui/open-webui/commit/7f405c74cd92ad04cc3b069767c6d7680817ffce) refac: rename ### 📊 Changes **3 files changed** (+7 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `backend/config.py` (+4 -2) 📝 `kubernetes/manifest/base/webui-deployment.yaml` (+1 -1) 📝 `kubernetes/manifest/base/webui-pvc.yaml` (+2 -2) </details> ### 📄 Description I configured a new Open WebUI instance on my K8S node and i noticed some points. **Changed** - Old naming of the Open WebUI PVC **Added** - Sometimes the ENV allocated in the webui-deployment.yaml was overwritten by the `OLLAMA_BASE_URL `check in `backend/config.py` and allocated `http://host.docker.internal:11434` which wont work on K8S. Added a check to set the right base URL `http://ollama-service.open-webui.svc.cluster.local:11434` when running on K8S --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 03:05:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#20629