This commit is contained in:
parent
908a8ee9ae
commit
5a1ed6c0c9
@ -1,28 +0,0 @@
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
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: 11180
|
||||
name: tcp-gw
|
||||
# allowedRoutes:
|
||||
# namespaces:
|
||||
# from: All
|
||||
allowedRoutes:
|
||||
#kinds:
|
||||
#- group: gateway.networking.k8s.io/v1alpha2
|
||||
# kind: TCPRoute
|
||||
namespaces:
|
||||
from: All
|
20
manifests/04-routes/httproute-kafka.yaml
Normal file
20
manifests/04-routes/httproute-kafka.yaml
Normal 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
|
@ -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: /
|
Loading…
Reference in New Issue
Block a user