add kfk
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simple_Not 2023-12-07 20:32:32 +10:00
parent 5ac8555851
commit 5d9fad10de
2 changed files with 14 additions and 11 deletions

View File

@ -23,6 +23,9 @@ spec:
- protocol: TCP - protocol: TCP
port: 80 port: 80
name: tcp-gw name: tcp-gw
# allowedRoutes:
# namespaces:
# from: All
allowedRoutes: allowedRoutes:
namespaces: kinds:
from: All - kind: TCPRoute

View File

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