This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.yaml
80 lines (73 loc) · 2.23 KB
/
config.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
projectName: gesis-hub-prod
persistent_binderhub:
binderhub:
resources:
requests:
cpu: "0.25"
memory: 1Gi
limits:
cpu: "2"
memory: 2Gi
config:
BinderHub:
hub_url: https://notebooks.gesis.org
image_prefix: gesiscss/binder-r2d-g5b5b759-
extraConfig:
00-template-variables: |
production = True
service:
annotations:
prometheus.io/path: '/services/binder/metrics'
nodePort: 30083
jupyterhub:
hub:
# below is already default of z2jh chart
#service:
# annotations:
# prometheus.io/path: "/hub/metrics"
services:
binder:
url: http://194.95.75.9:30083 # base worker
oauth_redirect_uri: "https://notebooks.gesis.org/services/binder/oauth_callback"
oauth_client_id: "binder-oauth-client"
# https://zero-to-jupyterhub.readthedocs.io/en/latest/administrator/authentication.html#genericoauthenticator-openid-connect
config:
GenericOAuthenticator:
login_service: "GESIS Login" # to customize the label on the login button
oauth_callback_url: https://notebooks.gesis.org/hub/oauth_callback
authorize_url: https://login.gesis.org/realms/gesis/protocol/openid-connect/auth
token_url: https://login.gesis.org/realms/gesis/protocol/openid-connect/token
userdata_url: https://login.gesis.org/realms/gesis/protocol/openid-connect/userinfo
extraConfig:
020-orc: |
production = True
resources:
requests:
cpu: "0.25"
memory: 1Gi
limits:
cpu: "2"
memory: 2Gi
proxy:
service:
nodePorts:
http: 30084
https: 30080
chp:
resources:
requests:
cpu: "0.5"
memory: 512Mi
limits:
cpu: "1"
memory: 1Gi
singleuser:
storage:
# has no effect when using nfs: this is a min limit not a max
capacity: 10Gi
cpu:
guarantee: 0.1
limit: 3
memory:
guarantee: 1G
limit: 32G