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

44 lines
804 B
YAML
Raw Normal View History

2023-11-16 19:52:51 +10:00
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
name: my-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: HTTP
port: 80
name: web-gw
allowedRoutes:
namespaces:
from: All
2023-12-07 20:49:19 +10:00
# - protocol: TCP
# port: 18765
# name: tcp-gw
# # allowedRoutes:
# # namespaces:
# # from: All
# allowedRoutes:
# kinds:
# - kind: TCPRoute
2023-12-07 22:40:59 +10:00
# - protocol: TCP
# port: 11181
# name: tcp-gw2
# # allowedRoutes:
# # namespaces:
# # from: All
# allowedRoutes:
# kinds:
# - kind: TCPRoute
# namespaces:
# from: All
2023-12-07 22:39:08 +10:00