2023-12-07 20:29:26 +10:00
|
|
|
---
|
2023-12-07 20:32:32 +10:00
|
|
|
apiVersion: gateway.networking.k8s.io/v1alpha2
|
2023-12-07 20:29:26 +10:00
|
|
|
kind: TCPRoute
|
|
|
|
metadata:
|
|
|
|
name: tcp-kafka
|
|
|
|
namespace: kafka
|
|
|
|
spec:
|
2023-12-07 20:32:32 +10:00
|
|
|
#hostnames:
|
|
|
|
#- kafka.guaranteedstruggle.host
|
2023-12-07 20:29:26 +10:00
|
|
|
parentRefs:
|
2023-12-07 20:51:16 +10:00
|
|
|
- name: my-tcp-gateway
|
2023-12-07 20:29:26 +10:00
|
|
|
namespace: default
|
|
|
|
rules:
|
2023-12-07 20:32:32 +10:00
|
|
|
- backendRefs:
|
|
|
|
- name: kafka
|
2023-12-07 20:29:26 +10:00
|
|
|
port: 9092
|
2023-12-07 20:32:32 +10:00
|
|
|
#matches:
|
|
|
|
#- path:
|
|
|
|
# type: PathPrefix
|
|
|
|
# value: /
|