This commit is contained in:
parent
a4b9c2e4c0
commit
5ac8555851
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user