2026-10-27 00:38:47 -04:00
|
|
|
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
|
2026-10-27 00:44:32 -04:00
|
|
|
# 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
|
docs: Hubble UI on 8084, verified end-to-end by bare IP; correct the 8084 comment
- internal-wireguard-services §10: Hubble verification log (HR Ready, rendered
hubble.metrics list, relay connected to all 3 agents, 23/23 scrape targets up,
flow/drop/TCP/ICMP/PolicyVerdict counters non-zero, headless-browser service
map with 64.7 flows/s and 3/3 nodes, LAN + internet negatives, regression).
Records the port cycle: 8082 is held on rpi by the leftover handyman-site
Docker container (and 8083 by its nginx), so the listener must be checked free
on EVERY cilium-envoy node, and notes that only 10.10.0.2 answers (Envoy on a
node without the backend 503s after 5s).
- gateway-hubble-ui.yaml: stop asserting a bind error for 8084 — 8084 was
verified free on both nodes and binds; the comment now explains the rule
without claiming a false fact.
- cluster-overview: internal gateway section + namespaces (monitoring, hubble
pods, the second gateway).
2026-10-27 00:51:43 -04:00
|
|
|
# makes xDS reject the listener there ("cannot bind '0.0.0.0:<port>':
|
|
|
|
|
# Address already in use") and restart-loops that node's Envoy — which
|
|
|
|
|
# fronts the public ingress. The Pi still runs leftover Docker site containers:
|
2026-10-27 00:44:32 -04:00
|
|
|
# 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
|
2026-10-27 00:38:47 -04:00
|
|
|
allowedRoutes:
|
|
|
|
|
namespaces:
|
|
|
|
|
from: All
|