Update open-webui deployment and manifest for version 0.7.2; streamline configuration variables
This commit is contained in:
@@ -13,15 +13,11 @@ spec:
|
|||||||
component: web
|
component: web
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 1000
|
|
||||||
fsGroup: 1000
|
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: open-webui
|
- name: open-webui
|
||||||
image: {{ .apps.openWebui.image }}
|
image: {{ .image }}
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
@@ -31,21 +27,21 @@ spec:
|
|||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .apps.openWebui.port }}
|
containerPort: {{ .port }}
|
||||||
env:
|
env:
|
||||||
- name: WEBUI_AUTH
|
- name: WEBUI_AUTH
|
||||||
value: "{{ .apps.openWebui.enableAuth }}"
|
value: "{{ .enableAuth }}"
|
||||||
- name: ENABLE_SIGNUP
|
- name: ENABLE_SIGNUP
|
||||||
value: "{{ .apps.openWebui.enableSignup }}"
|
value: "{{ .enableSignup }}"
|
||||||
- name: OPENAI_API_BASE_URL
|
- name: OPENAI_API_BASE_URL
|
||||||
value: "{{ .apps.openWebui.vllmApiUrl }}"
|
value: "{{ .vllmApiUrl }}"
|
||||||
- name: OPENAI_API_KEY
|
- name: OPENAI_API_KEY
|
||||||
value: "sk-placeholder" # Required but not used with vLLM
|
value: "sk-placeholder" # Required but not used with vLLM
|
||||||
- name: WEBUI_SECRET_KEY
|
- name: WEBUI_SECRET_KEY
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: open-webui-secrets
|
name: open-webui-secrets
|
||||||
key: openWebui.secretKey
|
key: secretKey
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /app/backend/data
|
mountPath: /app/backend/data
|
||||||
@@ -56,18 +52,23 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
readinessProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /health
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
|
failureThreshold: 18
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /health
|
||||||
|
port: http
|
||||||
|
periodSeconds: 10
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /health
|
||||||
port: http
|
port: http
|
||||||
initialDelaySeconds: 60
|
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
timeoutSeconds: 5
|
timeoutSeconds: 5
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -3,17 +3,18 @@ is: open-webui
|
|||||||
description: Open WebUI is a comprehensive, open-source web interface for AI models.
|
description: Open WebUI is a comprehensive, open-source web interface for AI models.
|
||||||
Features a user-friendly design, supports various LLM runners, and operates entirely
|
Features a user-friendly design, supports various LLM runners, and operates entirely
|
||||||
offline. Perfect for creating a ChatGPT-like experience with local or hosted models.
|
offline. Perfect for creating a ChatGPT-like experience with local or hosted models.
|
||||||
version: 0.4.5
|
version: 0.7.2
|
||||||
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-webui.svg
|
icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-webui.svg
|
||||||
requires: []
|
requires: []
|
||||||
defaultConfig:
|
defaultConfig:
|
||||||
namespace: open-webui
|
namespace: open-webui
|
||||||
externalDnsDomain: '{{ .cloud.domain }}'
|
externalDnsDomain: '{{ .cloud.domain }}'
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:v0.7.2
|
||||||
port: 8080
|
port: 8080
|
||||||
storage: 10Gi
|
storage: 10Gi
|
||||||
domain: chat.{{ .cloud.domain }}
|
domain: chat.{{ .cloud.domain }}
|
||||||
vllmApiUrl: http://vllm-service.llm.svc.cluster.local:8000/v1
|
vllmApiUrl: http://vllm-service.llm.svc.cluster.local:8000/v1
|
||||||
enableAuth: true
|
enableAuth: true
|
||||||
enableSignup: false
|
enableSignup: false
|
||||||
defaultSecrets: []
|
defaultSecrets:
|
||||||
|
- key: secretKey
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ spec:
|
|||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: {{ .apps.openWebui.storage }}
|
storage: {{ .storage }}
|
||||||
Reference in New Issue
Block a user