-
Notifications
You must be signed in to change notification settings - Fork 130
/
ingress-rules-monitoring.yml
57 lines (55 loc) · 1.33 KB
/
ingress-rules-monitoring.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
# ingress-nginx IngressClass
apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
name: monitoring-nginx
namespace: quorum
spec:
controller: k8s.io/monitoring-ingress-nginx
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: besu-ingress-monitoring-routes
namespace: quorum
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/configuration-snippet: |
rewrite (?i)/kibana/(.*) /$1 break;
rewrite (?i)/kibana$ / break;
#nginx.ingress.kubernetes.io/whitelist-source-range: w.x.y.z/32,a.b.c.d/32
spec:
ingressClassName: monitoring-nginx
rules:
- http:
paths:
- path: /blockscout
pathType: Prefix
backend:
service:
name: blockscout
port:
number: 4000
- path: /explorer
pathType: Prefix
backend:
service:
name: quorum-explorer
port:
number: 80
- path: /kibana
pathType: Prefix
backend:
service:
name: kibana-kibana
port:
number: 5601
- path: /
pathType: Prefix
backend:
service:
name: monitoring-grafana
port:
number: 3000