prometheus-ingressroute.yaml 361 B

12345678910111213141516171819
  1. ---
  2. apiVersion: traefik.containo.us/v1alpha1
  3. kind: IngressRoute
  4. metadata:
  5. name: prometheus
  6. namespace: monitoring
  7. spec:
  8. entryPoints:
  9. - websecure
  10. routes:
  11. - kind: Rule
  12. match: Host(`prometheus.lan.jibby.org`)
  13. services:
  14. - kind: Service
  15. name: prometheus
  16. port: 9090
  17. middlewares:
  18. - name: lanonly
  19. namespace: kube-system