webui-service.yaml 363 B

123456789101112131415
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: open-webui-service
  5. namespace: open-webui
  6. spec:
  7. type: NodePort # Use LoadBalancer if you're on a cloud that supports it
  8. selector:
  9. app: open-webui
  10. ports:
  11. - protocol: TCP
  12. port: 8080
  13. targetPort: 8080
  14. # If using NodePort, you can optionally specify the nodePort:
  15. # nodePort: 30000