Cilium binds every Gateway listener on 0.0.0.0 on EVERY gateway node, and the Pi
still runs leftover Docker site containers: handyman-site holds 127.0.0.1:8082
and its nginx holds 127.0.0.1:8083 (a 127.0.0.1 bind still blocks a 0.0.0.0
one). Binding 8082 there made xDS reject the listener on rpi
("cannot bind '0.0.0.0:8082': Address already in use" at ~2/s) and restarted
cilium-envoy on the node that fronts the public ingress — the UI worked or not
depending on which node answered.
8084 measured free on both gateway nodes (rpi, siriussec) before the change.
Firewall moved with it: siriussec nft dport set { 8081, 8084 }, rpi ufw trio for
8084 inserted above the LAN catch-all and the 8082 rules deleted.
URL: http://10.10.0.2:8084/ (bare IP, no /etc/hosts) — same as Grafana on 8081.
33 lines
1.5 KiB
YAML
33 lines
1.5 KiB
YAML
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 MUST BE FREE ON *EVERY* NODE THAT RUNS cilium-envoy (rpi 10.10.0.1 and
|
|
# siriussec 10.10.0.2 — `kubectl -n kube-system get pods -l
|
|
# k8s-app=cilium-envoy -o wide`). Cilium binds 0.0.0.0:<port> hostNetwork on
|
|
# all of them, so a port already held by anything else on ANY gateway node
|
|
# makes xDS reject the listener there ("cannot bind '0.0.0.0:8084': Address
|
|
# already in use") and crashloops that node's Envoy — which fronts the
|
|
# public ingress. The Pi still runs leftover Docker site containers:
|
|
# handyman-site holds 127.0.0.1:8082 and its nginx holds 127.0.0.1:8083, so
|
|
# both are unusable here (a 127.0.0.1 bind still conflicts with 0.0.0.0).
|
|
# Check per node before choosing: `ss -lntH "sport = :<port>" | wc -l` = 0.
|
|
port: 8084
|
|
allowedRoutes:
|
|
namespaces:
|
|
from: All
|