Files
infrastructure/clusters/cl01tl/manifests/ollama/HTTPRoute-ollama.yaml

31 lines
681 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: ollama
labels:
app.kubernetes.io/instance: ollama
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: ollama
helm.sh/chart: ollama-4.6.2
namespace: ollama
spec:
parentRefs:
- group: gateway.networking.k8s.io
kind: Gateway
name: traefik-gateway
namespace: traefik
hostnames:
- "ollama.alexlebens.net"
rules:
- backendRefs:
- group: ""
kind: Service
name: ollama-web
namespace: ollama
port: 80
weight: 100
matches:
- path:
type: PathPrefix
value: /