k8s/manifests/04-routes/httproute-kafka.yaml

21 lines
353 B
YAML
Raw Normal View History

2023-12-08 00:22:29 +10:00
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
name: http-kafka
namespace: kafka
spec:
hostnames:
- kafka.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: kafka
port: 9092