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.
28 lines
974 B
YAML
28 lines
974 B
YAML
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: HTTPRoute
|
|
metadata:
|
|
name: hubble-ui
|
|
namespace: kube-system
|
|
labels:
|
|
app.kubernetes.io/name: hubble-ui
|
|
app.kubernetes.io/part-of: cilium
|
|
spec:
|
|
parentRefs:
|
|
# Dedicated Gateway on port 8084 — deliberately NOT the shared `internal`
|
|
# gateway. There is no `hostnames` field here on purpose: the route must
|
|
# match a request whose Host header is the bare IP (10.10.0.2:8084), which
|
|
# is the only form a phone can use. Cilium merges hostname-less routes that
|
|
# share a Gateway into one 50/50 weighted route, so a bare-IP service needs
|
|
# its own Gateway as well as its own port.
|
|
- name: hubble-ui
|
|
namespace: internal
|
|
sectionName: http-internal
|
|
rules:
|
|
- matches:
|
|
- path:
|
|
type: PathPrefix
|
|
value: /
|
|
backendRefs:
|
|
# hubble-ui Service (frontend nginx, which proxies /api to the backend)
|
|
- name: hubble-ui
|
|
port: 80
|