|
| 1 | +jupyterhub: |
| 2 | + ingress: |
| 3 | + hosts: [labi.latam.catalystproject.2i2c.cloud] |
| 4 | + tls: |
| 5 | + - hosts: [labi.latam.catalystproject.2i2c.cloud] |
| 6 | + secretName: https-auto-tls |
| 7 | + custom: |
| 8 | + homepage: |
| 9 | + templateVars: |
| 10 | + org: |
| 11 | + name: Catalyst Project, LatAm - LABI |
| 12 | + hub: |
| 13 | + config: |
| 14 | + JupyterHub: |
| 15 | + authenticator_class: github |
| 16 | + GitHubOAuthenticator: |
| 17 | + oauth_callback_url: https://labi.latam.catalystproject.2i2c.cloud/hub/oauth_callback |
| 18 | + allowed_organizations: |
| 19 | + - CatalystProject-Hubs:labi |
| 20 | + scope: |
| 21 | + - read:org |
| 22 | + Authenticator: |
| 23 | + admin_users: [] |
| 24 | + |
| 25 | + singleuser: |
| 26 | + profileList: |
| 27 | + - display_name: Jupyter SciPy Notebook |
| 28 | + description: Python environment |
| 29 | + slug: jupyter |
| 30 | + default: true |
| 31 | + kubespawner_override: |
| 32 | + image: quay.io/jupyter/scipy-notebook:2024-03-04 |
| 33 | + default_url: /lab |
| 34 | + profile_options: &profile_options |
| 35 | + resource_allocation: &resource_allocation |
| 36 | + display_name: Resource Allocation |
| 37 | + choices: |
| 38 | + mem_0_7: |
| 39 | + display_name: Up to 2G of RAM and 1 CPU |
| 40 | + kubespawner_override: |
| 41 | + mem_guarantee: 732421K |
| 42 | + mem_limit: 2G |
| 43 | + cpu_guarantee: 0.093 |
| 44 | + cpu_limit: 1 |
| 45 | + mem_3_0: |
| 46 | + display_name: Up to 6G of RAM and 2 CPUs |
| 47 | + kubespawner_override: |
| 48 | + mem_guarantee: 2929687.5K |
| 49 | + mem_limit: 6G |
| 50 | + cpu_guarantee: 0.375 |
| 51 | + cpu_limit: 2 |
| 52 | + mem_12_0: |
| 53 | + display_name: Up to 24G of RAM and 3 CPUs |
| 54 | + kubespawner_override: |
| 55 | + mem_guarantee: 11718750K |
| 56 | + mem_limit: 24G |
| 57 | + cpu_guarantee: 1.5 |
| 58 | + cpu_limit: 3 |
| 59 | + # GPU |
| 60 | + mem_26_0: |
| 61 | + display_name: 1 GPU, 21G of RAM and 3 CPUs |
| 62 | + kubespawner_override: |
| 63 | + mem_guarantee: 21G |
| 64 | + mem_limit: null |
| 65 | + cpu_guarantee: 3 |
| 66 | + environment: |
| 67 | + NVIDIA_DRIVER_CAPABILITIES: compute,utility |
| 68 | + node_selector: |
| 69 | + node.kubernetes.io/instance-type: n1-highmem-4 |
| 70 | + extra_resource_limits: |
| 71 | + nvidia.com/gpu: "1" |
| 72 | + mem_104_0: |
| 73 | + display_name: 4 GPU, 92G of RAM and 15 CPUs |
| 74 | + kubespawner_override: |
| 75 | + mem_guarantee: 92G |
| 76 | + mem_limit: null |
| 77 | + cpu_guarantee: 15 |
| 78 | + environment: |
| 79 | + NVIDIA_DRIVER_CAPABILITIES: compute,utility |
| 80 | + node_selector: |
| 81 | + node.kubernetes.io/instance-type: n1-highmem-16 |
| 82 | + extra_resource_limits: |
| 83 | + nvidia.com/gpu: "4" |
| 84 | + - display_name: Rocker Geospatial with RStudio |
| 85 | + description: R environment |
| 86 | + slug: rocker |
| 87 | + kubespawner_override: |
| 88 | + image: rocker/binder:4.3 |
| 89 | + image_pull_policy: Always |
| 90 | + default_url: /rstudio |
| 91 | + working_dir: /home/rstudio # Ensures container working dir is homedir |
| 92 | + profile_options: *profile_options |
| 93 | + |
| 94 | + - display_name: Bring your own image |
| 95 | + description: Specify your own docker image (must have python and jupyterhub installed in it) |
| 96 | + slug: custom |
| 97 | + profile_options: |
| 98 | + image: |
| 99 | + display_name: Image |
| 100 | + unlisted_choice: |
| 101 | + enabled: True |
| 102 | + display_name: "Custom image" |
| 103 | + validation_regex: "^.+:.+$" |
| 104 | + validation_message: "Must be a publicly available docker image, of form <image-name>:<tag>" |
| 105 | + kubespawner_override: |
| 106 | + image: "{value}" |
| 107 | + choices: {} |
| 108 | + resource_allocation: *resource_allocation |
0 commit comments