feat(open-webui): deploy Open WebUI with litellm backend
Deploys Open WebUI (chat.k8s.syd1.au.unkin.net) into the open-webui namespace via the aitooling ArgoCD project. Uses SQLite with a 10Gi cephrbd PVC for persistence, routes model requests to the existing litellm deployment, and exposes the UI through the traefik-external gateway. Credentials (OPENAI_API_KEY, WEBUI_SECRET_KEY) are injected via VaultStaticSecret from kv/kubernetes/namespace/open-webui/default. Closes #155
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: open-webui-http-redirect
|
||||
namespace: open-webui
|
||||
spec:
|
||||
hostnames:
|
||||
- chat.k8s.syd1.au.unkin.net
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: open-webui
|
||||
sectionName: http
|
||||
rules:
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: open-webui
|
||||
namespace: open-webui
|
||||
spec:
|
||||
hostnames:
|
||||
- chat.k8s.syd1.au.unkin.net
|
||||
parentRefs:
|
||||
- group: gateway.networking.k8s.io
|
||||
kind: Gateway
|
||||
name: open-webui
|
||||
sectionName: https
|
||||
rules:
|
||||
- backendRefs:
|
||||
- group: ""
|
||||
kind: Service
|
||||
name: open-webui
|
||||
port: 8080
|
||||
weight: 1
|
||||
matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
Reference in New Issue
Block a user