k8s/manifests/00-system-stuff/gateway.yaml
hogweed1 2e2d0605a6
All checks were successful
continuous-integration/drone/push Build is passing
mm
2024-07-21 23:21:48 +10:00

50 lines
905 B
YAML

---
apiVersion: gateway.networking.k8s.io/v1
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.175
listeners:
- protocol: HTTP
port: 80
name: web-gw
allowedRoutes:
namespaces:
from: All
- protocol: HTTP
port: 9092
name: kfk-gw
allowedRoutes:
namespaces:
from: All
# - protocol: TCP
# port: 18765
# name: tcp-gw
# # allowedRoutes:
# # namespaces:
# # from: All
# allowedRoutes:
# kinds:
# - kind: TCPRoute
# - protocol: TCP
# port: 11181
# name: tcp-gw2
# # allowedRoutes:
# # namespaces:
# # from: All
# allowedRoutes:
# kinds:
# - kind: TCPRoute
# namespaces:
# from: All