Files
trade-deploy/kustomize/infra/monitoring-extras/ingressroute-prometheus-http.yaml

17 lines
347 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: prometheus-http
namespace: monitoring
spec:
entryPoints:
- web
routes:
- match: Host(`prometheus.mpabi.pl`)
kind: Rule
middlewares:
- name: redirect-to-https
services:
- name: kube-prometheus-stack-prometheus
port: 9090