28 lines
497 B
YAML
28 lines
497 B
YAML
---
|
|
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: 11180
|
|
name: tcp-gw
|
|
# allowedRoutes:
|
|
# namespaces:
|
|
# from: All
|
|
allowedRoutes:
|
|
kinds:
|
|
- kind: TCPRouten
|
|
namespaces:
|
|
from: All
|