21 lines
364 B
YAML
21 lines
364 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1alpha2
|
|
kind: TCPRoute
|
|
metadata:
|
|
name: tcp-kafka
|
|
namespace: kafka
|
|
spec:
|
|
#hostnames:
|
|
#- kafka.guaranteedstruggle.host
|
|
parentRefs:
|
|
- name: my-tcp-gateway
|
|
namespace: default
|
|
rules:
|
|
- backendRefs:
|
|
- name: kafka
|
|
port: 9092
|
|
#matches:
|
|
#- path:
|
|
# type: PathPrefix
|
|
# value: /
|