feat(websocket): change redis name and set container resources

This commit is contained in:
jyje 2025-01-07 23:33:49 +09:00
parent 9b13a7e2af
commit f06ddd9f2f
No known key found for this signature in database
GPG Key ID: CFEECE847750DA12
2 changed files with 8 additions and 2 deletions

View File

@ -37,6 +37,10 @@ spec:
ports:
- name: http
containerPort: {{ .Values.websocket.redis.service.containerPort }}
{{- with .Values.websocket.redis.resources }}
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
---
apiVersion: v1
kind: Service

View File

@ -38,13 +38,13 @@ websocket:
# -- Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default)
manager: redis
# -- Specifies the URL of the Redis instance for websocket communication
url: redis://websocket-redis:6379/0
url: redis://open-webui-redis:6379/0
# -- Deploys a redis
redis:
# -- Enable redis installation
enabled: true
# -- Redis name
name: websocket-redis
name: open-webui-redis
# -- Redis labels
labels: {}
# -- Redis annotations
@ -58,6 +58,8 @@ websocket:
command: []
# -- Redis arguments
args: []
# -- Redis resources
resources: {}
# -- Redis service
service:
# -- Redis container/target port