forked from 2i2c-org/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowcase.values.yaml
More file actions
265 lines (259 loc) · 9.58 KB
/
Copy pathshowcase.values.yaml
File metadata and controls
265 lines (259 loc) · 9.58 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
basehub:
nfs:
pv:
serverIP: 10.100.220.250
userServiceAccount:
annotations:
# When we renamed this hub, we did so at a DNS level and not an infrastructure
# level. No terraform config was touched. Hence the kubernetes annotations retain
# the original hub name.
eks.amazonaws.com/role-arn: arn:aws:iam::790657130469:role/2i2c-aws-us-showcase
jupyterhub-home-nfs:
eks:
volumeId: vol-0a55e84bbf716b456
quotaEnforcer:
config:
QuotaManager:
hard_quota: 20 # in GiB
jupyterhub:
ingress:
ingressClassName: nginx-ingress
hosts: [showcase.2i2c.cloud]
tls:
- hosts: [showcase.2i2c.cloud]
secretName: https-auto-tls
custom:
2i2c:
add_staff_user_ids_to_admin_users: true
add_staff_user_ids_of_type: github
homepage:
gitRepoBranch: 2i2c-showcase
templateVars:
org:
name: 2i2c Showcase
url: https://2i2c.org
logo_url: https://2i2c.org/media/logo.png
designed_by:
name: 2i2c
url: https://2i2c.org
operated_by:
name: 2i2c
url: https://2i2c.org
funded_by:
name: 2i2c
url: https://2i2c.org
hub:
config:
GitHubOAuthenticator:
oauth_callback_url: https://showcase.2i2c.cloud/hub/oauth_callback
allowed_organizations:
- 2i2c-community-showcase:access-2i2c-showcase
- 2i2c-community-showcase:magiclinks-demo
- 2i2c-demo-hub-access:showcase-topst
- ScienceCore
singleuser:
nodeSelector:
2i2c/hub-name: showcase
extraEnv:
SCRATCH_BUCKET: s3://2i2c-aws-us-scratch-showcase/$(JUPYTERHUB_USER)
PERSISTENT_BUCKET: s3://2i2c-aws-us-persistent-showcase/$(JUPYTERHUB_USER)
GH_SCOPED_CREDS_CLIENT_ID: Iv1.f9261c4c78b4dfdd
GH_SCOPED_CREDS_APP_URL: https://github.com/apps/2i2c-community-showcase-hub
profileList:
- display_name: Magic Link Demo
description: For demoing magic links
allowed_groups:
- 2i2c-community-showcase:magiclinks-demo
kubespawner_override:
image: pangeo/pangeo-notebook:2023.06.20
mem_guarantee: 7.234G
cpu_guarantee: 0.1
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.xlarge
- display_name: NASA TOPS-T ScienceCore-ClimateRisk
description: For collaborative work on 2i2c/MD's NASA TOPS-T ScienceCore Module
allowed_groups:
- 2i2c-demo-hub-access:showcase-topst
- 2i2c-org:hub-access-for-2i2c-staff
- ScienceCore:climaterisk-team
kubespawner_override:
image: quay.io/2i2c/sciencecore-climaterisk-image:69d8d944f907
mem_guarantee: 7.234G
cpu_guarantee: 0.1
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.xlarge
- display_name: NASA TOPS-T ScienceCore
description: JupyterHubs for NASA ScienceCore Modules
allowed_groups:
- 2i2c-org:hub-access-for-2i2c-staff
- ScienceCore:2i2c-showcase
profile_options:
image:
display_name: Image
unlisted_choice:
enabled: true
display_name: Custom image
validation_regex: ^.+:.+$
validation_message: Must be a publicly available docker image, of form <image-name>:<tag>
kubespawner_override:
image: '{value}'
choices:
jupyter-scipy:
default: true
display_name: Jupyter SciPy
slug: jupyter-scipy
kubespawner_override:
image: quay.io/jupyter/scipy-notebook:2024-03-18
jupyter-datascience:
display_name: Jupyter DataScience
slug: jupyter-datascience
kubespawner_override:
image: quay.io/jupyter/datascience-notebook:2024-03-18
rocker-geospatial:
display_name: Rocker Geospatial
slug: rocker-geospatial
kubespawner_override:
image: rocker/binder:4.3
image_pull_policy: Always
# Launch into RStudio after the user logs in
default_url: /rstudio
# Ensures container working dir is homedir
# https://github.com/2i2c-org/infrastructure/issues/2559
working_dir: /home/rstudio
pangeo:
display_name: Pangeo Notebook
slug: pangeo
kubespawner_override:
image: pangeo/pangeo-notebook:2023.06.20
kubespawner_override:
mem_guarantee: 7.234G
cpu_guarantee: 0.1
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.xlarge
- display_name: 'Shared Small: 1-4 CPU, 8-32 GB'
description: A shared machine, the recommended option until you experience a limitation.
allowed_groups: &allowed_groups
- 2i2c-org:hub-access-for-2i2c-staff
- 2i2c-community-showcase:access-2i2c-showcase
profile_options: &profile_options
image:
display_name: Image
unlisted_choice:
enabled: true
display_name: Custom image
validation_regex: ^.+:.+$
validation_message: Must be a publicly available docker image, of form <image-name>:<tag>
kubespawner_override:
image: '{value}'
choices:
handbook:
display_name: Handbook Authoring
slug: handbook
kubespawner_override:
image: quay.io/2i2c/handbook-authoring-image:7c62c6e63869
pangeo:
display_name: Pangeo Notebook
default: true
slug: pangeo
kubespawner_override:
image: pangeo/pangeo-notebook:2023.06.20
jupyter-scipy:
display_name: Jupyter SciPy
slug: jupyter-scipy
kubespawner_override:
image: quay.io/jupyter/scipy-notebook:2024-03-18
jupyter-datascience:
display_name: Jupyter DataScience
slug: jupyter-datascience
kubespawner_override:
image: quay.io/jupyter/datascience-notebook:2024-03-18
rocker-geospatial:
display_name: Rocker Geospatial
slug: rocker-geospatial
kubespawner_override:
image: rocker/binder:4.3
image_pull_policy: Always
# Launch into RStudio after the user logs in
default_url: /rstudio
# Ensures container working dir is homedir
# https://github.com/2i2c-org/infrastructure/issues/2559
working_dir: /home/rstudio
kubespawner_override:
mem_guarantee: 7.234G
cpu_guarantee: 0.1
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.xlarge
- display_name: 'Small: 4 CPU, 32 GB'
description: A dedicated machine for you.
profile_options: *profile_options
allowed_groups: *allowed_groups
kubespawner_override:
mem_guarantee: 28.937G
cpu_guarantee: 0.4
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.xlarge
- display_name: 'Medium: 16 CPU, 128 GB'
description: A dedicated machine for you.
profile_options: *profile_options
allowed_groups: *allowed_groups
kubespawner_override:
mem_guarantee: 120.513G
cpu_guarantee: 1.6
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.4xlarge
- display_name: 'Large: 64 CPU, 512 GB'
description: A dedicated machine for you
profile_options: *profile_options
allowed_groups: *allowed_groups
kubespawner_override:
mem_guarantee: 489.13G
cpu_guarantee: 6.4
mem_limit:
node_selector:
node.kubernetes.io/instance-type: r5.16xlarge
- display_name: NVIDIA Tesla T4, ~16 GB, ~4 CPUs
slug: gpu
allowed_groups:
- 2i2c-org:hub-access-for-2i2c-staff
description: Start a container on a dedicated node with a GPU
profile_options:
image:
display_name: Image
choices:
tensorflow:
display_name: Pangeo Tensorflow ML Notebook
slug: tensorflow
kubespawner_override:
image: pangeo/ml-notebook:b9584f6
pytorch:
display_name: Pangeo PyTorch ML Notebook
default: true
slug: pytorch
kubespawner_override:
image: pangeo/pytorch-notebook:b9584f6
kubespawner_override:
mem_limit:
environment:
NVIDIA_DRIVER_CAPABILITIES: compute,utility
mem_guarantee: 14G
node_selector:
node.kubernetes.io/instance-type: g4dn.xlarge
extra_resource_limits:
nvidia.com/gpu: '1'
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase