Files
homelab/k8s/infra/monitoring/prometheus-stack/prometheus-http-route.yaml

20 lines
401 B
YAML

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