webui-service.yaml 478 B

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