-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproduction.yaml
64 lines (57 loc) · 1.54 KB
/
production.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Use https://github.com/jupyterhub/mybinder.org-deploy/blob/main/config/prod.yaml as reference
url: https://notebooks.gesis.org/binder/
binderhub:
config:
BinderHub:
hub_url: https://notebooks.gesis.org/binder/jupyter/
LaunchQuota:
total_quota: 120
extraConfig:
02-badge-base-url: |
c.BinderHub.badge_base_url = "https://mybinder.org/"
01-template-variables: |
template_vars = {
"gesis_notebooks_https": 'https://notebooks.gesis.org/',
'production': True,
}
template_vars['gesis_notebooks_static'] = template_vars['gesis_notebooks_https'] + "static/"
template_vars['gesis_web_frontend_framework'] = template_vars['gesis_notebooks_static'] + "gesis-web-frontend-framework/"
template_vars['binder_static'] = template_vars['gesis_notebooks_https'] + "binder/static/"
c.BinderHub.template_variables.update(template_vars)
prometheus:
enabled: true
server:
service:
type: NodePort
nodePort: 30073
servicePort: 80
livenessProbeInitialDelay: 800
resources:
requests:
cpu: "4"
memory: 30Gi
limits:
cpu: "4"
memory: 36Gi
persistentVolume:
size: 50Gi
storageClass: standard
retention: 30d
ingress:
hosts:
- notebooks.gesis.org/prometheus
grafana:
enabled: true
resources:
requests:
cpu: "0"
memory: 128Mi
limits:
cpu: "0.25"
memory: 128Mi
ingress:
path: /grafana
hosts:
- notebooks.gesis.org
cryptnono:
enabled: true