From a7f62b1fa6acfdcbda409f6e72f929e946b596d3 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 7 Dec 2023 20:51:16 +1000 Subject: [PATCH] add kfk --- manifests/00-system-stuff/tcp-gateway.yaml | 25 ++++++++++++++++++++++ manifests/04-routes/tcproute-kafka.yaml | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 manifests/00-system-stuff/tcp-gateway.yaml diff --git a/manifests/00-system-stuff/tcp-gateway.yaml b/manifests/00-system-stuff/tcp-gateway.yaml new file mode 100644 index 0000000..6734ce6 --- /dev/null +++ b/manifests/00-system-stuff/tcp-gateway.yaml @@ -0,0 +1,25 @@ +--- +apiVersion: gateway.networking.k8s.io/v1beta1 +kind: Gateway +metadata: + name: my-tcp-gateway + labels: + color: coral +spec: + gatewayClassName: cilium + # addresses: + # - value: "0.0.0.0" + # - type: IPAddress + # value: 192.168.0.105 + # - type: IPAddress + # value: 10.0.10.251 + listeners: + - protocol: TCP + port: 80 + name: tcp-gw + # allowedRoutes: + # namespaces: + # from: All + allowedRoutes: + kinds: + - kind: TCPRoute diff --git a/manifests/04-routes/tcproute-kafka.yaml b/manifests/04-routes/tcproute-kafka.yaml index 0fa3104..75050a7 100644 --- a/manifests/04-routes/tcproute-kafka.yaml +++ b/manifests/04-routes/tcproute-kafka.yaml @@ -8,7 +8,7 @@ spec: #hostnames: #- kafka.guaranteedstruggle.host parentRefs: - - name: my-gateway + - name: my-tcp-gateway namespace: default rules: - backendRefs: