71 lines
1.5 KiB
YAML
71 lines
1.5 KiB
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: grafana
|
|
spec:
|
|
rules:
|
|
- host: grafana.home.finn.io
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: grafana
|
|
port:
|
|
number: 3000
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: prometheus-internal
|
|
annotations:
|
|
janky.solutions/auth-glue: prometheus
|
|
spec:
|
|
rules:
|
|
- host: prometheus.monitoring.k8s
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: prometheus-k8s
|
|
port:
|
|
number: 9090
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: prometheus
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.middlewares: monitoring-oauth2-proxy-prometheus-errors@kubernetescrd, monitoring-oauth2-proxy-prometheus@kubernetescrd
|
|
spec:
|
|
rules:
|
|
- host: prometheus.k8s.home.finn.io
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: prometheus-k8s
|
|
port:
|
|
number: 9090
|
|
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: oauth2-proxy-prometheus
|
|
spec:
|
|
rules:
|
|
- host: prometheus.k8s.home.finn.io
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: /oauth2
|
|
backend:
|
|
service:
|
|
name: oauth2-proxy-prometheus
|
|
port:
|
|
number: 4180
|