add kfk
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not
2023-12-08 00:22:29 +10:00
parent 908a8ee9ae
commit 5a1ed6c0c9
3 changed files with 20 additions and 48 deletions

View File

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

View File

@@ -1,20 +0,0 @@
---
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: /