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