Reorganized for new stable/waypoint versioning design.

This commit is contained in:
2026-05-24 18:28:47 +00:00
parent 945d2225a2
commit bc7a168851
352 changed files with 1264 additions and 294 deletions

View File

@@ -0,0 +1,33 @@
# Open WebUI
Open WebUI is a comprehensive, open-source web interface for AI models. It features a user-friendly design similar to ChatGPT and can connect to local or hosted LLM backends.
## Dependencies
None required, but works best with a local LLM backend like **vLLM** deployed on your cluster.
## Configuration
Key settings configured through your instance's `config.yaml`:
- **domain** - Where the UI will be accessible (default: `chat.{your-cloud-domain}`)
- **vllmApiUrl** - URL of your LLM backend (default: connects to vLLM on the cluster)
- **enableSignup** - Whether to allow new account creation (default: `false`)
- **storage** - Persistent volume size (default: `10Gi`)
## Access
After deployment, Open WebUI will be available at:
- `https://chat.{your-cloud-domain}`
## First-Time Setup
1. Deploy a local LLM backend (e.g., vLLM) if you haven't already
2. Add and deploy the app:
```bash
wild app add open-webui
wild app deploy open-webui
```
3. Create your account and start chatting with your local AI models

View File

@@ -0,0 +1,86 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
component: web
template:
metadata:
labels:
component: web
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: open-webui
image: ghcr.io/open-webui/open-webui:v0.9.5
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
ports:
- name: http
containerPort: 8080
env:
- name: WEBUI_AUTH
value: "true"
- name: ENABLE_SIGNUP
value: "false"
- name: OPENAI_API_BASE_URL
value: "{{ .vllmApiUrl }}"
- name: OPENAI_API_KEY
value: "sk-placeholder" # Required but not used with vLLM
- name: WEBUI_SECRET_KEY
valueFrom:
secretKeyRef:
name: open-webui-secrets
key: secretKey
- name: WEBUI_ADMIN_EMAIL
value: "{{ .adminEmail }}"
- name: WEBUI_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: open-webui-secrets
key: adminPassword
volumeMounts:
- name: data
mountPath: /app/backend/data
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 1
memory: 2Gi
startupProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 18
readinessProbe:
httpGet:
path: /ready
port: http
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: http
periodSeconds: 30
timeoutSeconds: 5
volumes:
- name: data
persistentVolumeClaim:
claimName: open-webui-data

View File

@@ -0,0 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: open-webui
annotations:
external-dns.alpha.kubernetes.io/target: {{ .externalDnsDomain }}
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
traefik.ingress.kubernetes.io/router.middlewares: crowdsec-crowdsec-bouncer@kubernetescrd,crowdsec-rate-limit@kubernetescrd
spec:
rules:
- host: {{ .domain }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: open-webui
port:
number: 80
tls:
- secretName: wildcard-wild-cloud-tls
hosts:
- {{ .domain }}

View File

@@ -0,0 +1,15 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: open-webui
labels:
- includeSelectors: true
pairs:
app: open-webui
managedBy: kustomize
partOf: wild-cloud
resources:
- namespace.yaml
- pvc.yaml
- deployment.yaml
- service.yaml
- ingress.yaml

View File

@@ -0,0 +1,12 @@
version: 0.9.5-1
requires: []
defaultConfig:
namespace: open-webui
externalDnsDomain: '{{ .cloud.domain }}'
storage: 10Gi
domain: chat.{{ .cloud.domain }}
vllmApiUrl: http://vllm-service.llm.svc.cluster.local:8000/v1
adminEmail: '{{ .operator.email }}'
defaultSecrets:
- key: secretKey
- key: adminPassword

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: "{{ .namespace }}"

View File

@@ -0,0 +1,10 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: open-webui-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .storage }}

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: open-webui
spec:
type: ClusterIP
selector:
component: web
ports:
- name: http
port: 80
targetPort: http