-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathmonitoring_ingress.yaml
40 lines (40 loc) · 1.4 KB
/
monitoring_ingress.yaml
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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
# add an annotation indicating the issuer to use.
cert-manager.io/cluster-issuer: letsencrypt-prod
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
ingress.kubernetes.io/proxy-connect-timeout: "300"
ingress.kubernetes.io/proxy-read-timeout: "300"
ingress.kubernetes.io/proxy-send-timeout: "300"
# ingress.kubernetes.io/large-client-header-buffers: "4 32k"
# increae max response size to avoid 413 errors see
# https://github.com/kubernetes/ingress-nginx/issues/1824
nginx.ingress.kubernetes.io/proxy-body-size: 512m
ingress.kubernetes.io/proxy-body-size: 512m
# add proxy protocol to header
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*'
name: monitoring-ingress
namespace: monitoring
spec:
tls:
- hosts:
- grafana.cbioportal.org
secretName: monitoring-cert
rules:
- host: grafana.cbioportal.org
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-grafana
port:
number: 80