k8s/manifests/04-routes/tcproute-kafka.yaml
Simple_Not 5ac8555851
Some checks failed
continuous-integration/drone/push Build is failing
add kfk
2023-12-07 20:29:26 +10:00

21 lines
359 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: TCPRoute
metadata:
name: tcp-kafka
namespace: kafka
spec:
hostnames:
- kafka.guaranteedstruggle.host
parentRefs:
- name: my-gateway
namespace: default
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: kafka-service
port: 9092