24 lines
569 B
YAML
24 lines
569 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:
|
||
|
|
- name: internal
|
||
|
|
namespace: internal
|
||
|
|
sectionName: http-internal
|
||
|
|
hostnames:
|
||
|
|
- hubble.lab.internal
|
||
|
|
rules:
|
||
|
|
- matches:
|
||
|
|
- path:
|
||
|
|
type: PathPrefix
|
||
|
|
value: /
|
||
|
|
backendRefs:
|
||
|
|
# hubble-ui Service (frontend nginx, which proxies /api to the backend)
|
||
|
|
- name: hubble-ui
|
||
|
|
port: 80
|