2023-12-07 20:51:16 +10:00
|
|
|
---
|
2023-12-07 23:05:49 +10:00
|
|
|
apiVersion: gateway.networking.k8s.io/v1
|
2023-12-07 20:51:16 +10:00
|
|
|
kind: Gateway
|
|
|
|
metadata:
|
|
|
|
name: my-tcp-gateway
|
2023-12-07 22:38:27 +10:00
|
|
|
labels:
|
|
|
|
color: coral
|
2023-12-07 20:51:16 +10:00
|
|
|
spec:
|
|
|
|
gatewayClassName: cilium
|
2023-12-07 22:37:57 +10:00
|
|
|
# addresses:
|
|
|
|
# - value: "0.0.0.0"
|
|
|
|
# - type: IPAddress
|
|
|
|
# value: 192.168.0.105
|
|
|
|
# - type: IPAddress
|
|
|
|
# value: 10.0.10.251
|
2023-12-07 20:51:16 +10:00
|
|
|
listeners:
|
|
|
|
- protocol: TCP
|
2023-12-07 21:14:41 +10:00
|
|
|
port: 11180
|
2023-12-07 20:51:16 +10:00
|
|
|
name: tcp-gw
|
|
|
|
# allowedRoutes:
|
|
|
|
# namespaces:
|
|
|
|
# from: All
|
|
|
|
allowedRoutes:
|
2023-12-07 22:58:11 +10:00
|
|
|
#kinds:
|
|
|
|
#- group: gateway.networking.k8s.io/v1alpha2
|
|
|
|
# kind: TCPRoute
|
2023-12-07 22:35:31 +10:00
|
|
|
namespaces:
|
|
|
|
from: All
|