k8s/manifests/00-system-stuff/tcp-gateway.yaml

26 lines
468 B
YAML
Raw Normal View History

2023-12-07 20:51:16 +10:00
---
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