2026-10-27 00:23:05 -04:00
|
|
|
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:
|
2026-10-27 00:44:32 -04:00
|
|
|
# Dedicated Gateway on port 8084 — deliberately NOT the shared `internal`
|
2026-10-27 00:38:47 -04:00
|
|
|
# gateway. There is no `hostnames` field here on purpose: the route must
|
2026-10-27 00:44:32 -04:00
|
|
|
# match a request whose Host header is the bare IP (10.10.0.2:8084), which
|
2026-10-27 00:38:47 -04:00
|
|
|
# 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
|
2026-10-27 00:23:05 -04:00
|
|
|
namespace: internal
|
2026-10-27 00:38:47 -04:00
|
|
|
sectionName: http-internal
|
2026-10-27 00:23:05 -04:00
|
|
|
rules:
|
|
|
|
|
- matches:
|
|
|
|
|
- path:
|
|
|
|
|
type: PathPrefix
|
|
|
|
|
value: /
|
|
|
|
|
backendRefs:
|
|
|
|
|
# hubble-ui Service (frontend nginx, which proxies /api to the backend)
|
|
|
|
|
- name: hubble-ui
|
|
|
|
|
port: 80
|