initialize repository with glance, litellm, openwebui, nas and pihole services

This commit is contained in:
Roger Oriol
2025-08-01 11:11:46 +02:00
commit 915d40cdce
12 changed files with 670 additions and 0 deletions

90
openwebui/openwebui.yaml Normal file
View File

@@ -0,0 +1,90 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: openwebui-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: open-webui
name: open-webui
spec:
replicas: 1
selector:
matchLabels:
app: open-webui
template:
metadata:
labels:
app: open-webui
spec:
volumes:
- name: webui-data
persistentVolumeClaim:
claimName: openwebui-pvc
containers:
- image: ghcr.io/open-webui/open-webui
name: open-webui
ports:
- containerPort: 8080
volumeMounts:
- name: webui-data
mountPath: /app/backend/data
resources:
requests:
cpu: 1000m
memory: 128Mi
limits:
cpu: 2000m
memory: 1Gi
livenessProbe:
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 2
periodSeconds: 10
successThreshold: 1
failureThreshold: 5
readinessProbe:
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 2
periodSeconds: 5
successThreshold: 1
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: 8080
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 2
periodSeconds: 5
successThreshold: 1
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
labels:
app: open-webui
name: open-webui-service
spec:
ports:
- name: http
port: 80
targetPort: 8080
selector:
app: open-webui