homek8s/infrastructure/networking/internal/gateway-hubble-ui.yaml

23 lines
728 B
YAML
Raw Normal View History

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: hubble-ui
namespace: internal
labels:
dedicated: network
annotations:
# Why a second Gateway instead of a second listener on `internal`:
# Cilium renders one RouteConfiguration per Gateway shared by all its
# listeners, so a hostname-less route on any listener of `internal` would
# merge with Grafana's into one 50/50 weighted route. Its own Gateway gives
# it its own RouteConfiguration.
sirius.dev/purpose: bare-IP listener for the Hubble UI (WireGuard only)
spec:
gatewayClassName: cilium
listeners:
- name: http-internal
protocol: HTTP
port: 8082
allowedRoutes:
namespaces:
from: All