infra/k8s/monitoring/ingresses.yaml

74 lines
1.6 KiB
YAML
Raw Permalink Normal View History

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana
spec:
rules:
2024-07-27 23:54:45 +00:00
- host: grafana.home.finn.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: grafana
port:
number: 3000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
2024-07-27 23:54:45 +00:00
metadata:
name: prometheus
annotations:
2024-08-12 22:35:11 +00:00
traefik.ingress.kubernetes.io/router.middlewares: kube-system-traefik-forward-auth@kubernetescrd
2024-07-27 23:54:45 +00:00
spec:
rules:
- host: prometheus.k8s.home.finn.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: prometheus-k8s
2024-08-12 22:35:11 +00:00
port:
2024-07-27 23:54:45 +00:00
number: 9090
---
apiVersion: networking.k8s.io/v1
kind: Ingress
2024-08-15 05:48:10 +00:00
metadata:
name: thanos-querier
annotations:
traefik.ingress.kubernetes.io/router.middlewares: kube-system-traefik-forward-auth@kubernetescrd
spec:
rules:
- host: thanos-querier.k8s.home.finn.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: thanos-querier
port:
number: 9090
---
apiVersion: networking.k8s.io/v1
kind: Ingress
2024-07-27 23:54:45 +00:00
metadata:
2024-08-12 22:35:11 +00:00
name: alertmanager
annotations:
traefik.ingress.kubernetes.io/router.middlewares: kube-system-traefik-forward-auth@kubernetescrd
2024-07-27 23:54:45 +00:00
spec:
rules:
2024-08-12 22:35:11 +00:00
- host: alertmanager.k8s.home.finn.io
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: alertmanager-main
port:
number: 9093