This commit is contained in:
parent
31c9dc7257
commit
a7f62b1fa6
25
manifests/00-system-stuff/tcp-gateway.yaml
Normal file
25
manifests/00-system-stuff/tcp-gateway.yaml
Normal file
@ -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
|
@ -8,7 +8,7 @@ spec:
|
|||||||
#hostnames:
|
#hostnames:
|
||||||
#- kafka.guaranteedstruggle.host
|
#- kafka.guaranteedstruggle.host
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: my-gateway
|
- name: my-tcp-gateway
|
||||||
namespace: default
|
namespace: default
|
||||||
rules:
|
rules:
|
||||||
- backendRefs:
|
- backendRefs:
|
||||||
|
Loading…
Reference in New Issue
Block a user