open-webui/kubernetes/helm/templates/webui-service.yaml

15 lines
438 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
2024-02-17 20:18:21 +00:00
name: open-webui-service
spec:
type: {{ .Values.webui.service.type }} # Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
selector:
2024-02-17 20:18:21 +00:00
app: open-webui
ports:
- protocol: TCP
port: {{ .Values.webui.servicePort }}
targetPort: {{ .Values.webui.servicePort }}
# If using NodePort, you can optionally specify the nodePort:
2024-02-19 20:49:30 +00:00
# nodePort: 30000