apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: prometheus namespace: monitoring spec: parentRefs: - name: internal namespace: gateway hostnames: - prometheus.stonegarden.dev rules: - matches: - path: type: PathPrefix value: / backendRefs: - name: kube-prometheus-stack-prometheus port: 9090