-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add staging and prod hubs to earthscope cluster
- Loading branch information
Showing
6 changed files
with
206 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,115 @@ | ||
nfs: | ||
pv: | ||
# from https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html | ||
mountOptions: | ||
- rsize=1048576 | ||
- wsize=1048576 | ||
- timeo=600 | ||
- soft # We pick soft over hard, so NFS lockups don't lead to hung processes | ||
- retrans=2 | ||
- noresvport | ||
serverIP: fs-08e7747330d833d82.efs.us-east-2.amazonaws.com | ||
baseShareName: / | ||
basehub: | ||
nfs: | ||
pv: | ||
# from https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html | ||
mountOptions: | ||
- rsize=1048576 | ||
- wsize=1048576 | ||
- timeo=600 | ||
- soft # We pick soft over hard, so NFS lockups don't lead to hung processes | ||
- retrans=2 | ||
- noresvport | ||
serverIP: fs-08e7747330d833d82.efs.us-east-2.amazonaws.com | ||
baseShareName: / | ||
jupyterhub: | ||
custom: | ||
2i2c: | ||
add_staff_user_ids_to_admin_users: true | ||
add_staff_user_ids_of_type: "google" | ||
homepage: | ||
templateVars: | ||
org: | ||
url: https://www.earthscope.org/ | ||
logo_url: https://drive.google.com/uc?export=view&id=1UUStqv7PBcxiIkzECUFKIdQKKIU8mXeb | ||
designed_by: | ||
name: "2i2c" | ||
url: https://2i2c.org | ||
operated_by: | ||
name: "2i2c" | ||
url: https://2i2c.org | ||
funded_by: | ||
name: "EarthScope Consortium" | ||
url: https://www.earthscope.org/ | ||
hub: | ||
config: | ||
JupyterHub: | ||
authenticator_class: cilogon | ||
CILogonOAuthenticator: | ||
allowed_idps: | ||
http://github.com/login/oauth/authorize: | ||
default: true | ||
username_derivation: | ||
username_claim: "preferred_username" | ||
http://google.com/accounts/o8/id: | ||
username_derivation: | ||
username_claim: email | ||
Authenticator: | ||
admin_users: | ||
- timdittmann | ||
- chad-earthscope | ||
singleuser: | ||
profileList: | ||
- display_name: "Shared Small: 1-4 CPU, 8-32 GB" | ||
description: "A shared machine, the recommended option until you experience a limitation." | ||
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: | ||
jupyter-scipy: | ||
display_name: Jupyter | ||
slug: jupyter-scipy | ||
kubespawner_override: | ||
image: jupyter/scipy-notebook:2023-06-27 | ||
rocker-geospatial: | ||
display_name: RStudio | ||
slug: rocker-geospatial | ||
kubespawner_override: | ||
image: rocker/binder:4.3 | ||
# 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: null | ||
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 | ||
kubespawner_override: | ||
mem_guarantee: 28.937G | ||
cpu_guarantee: 0.4 | ||
mem_limit: null | ||
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 | ||
kubespawner_override: | ||
mem_guarantee: 120.513G | ||
cpu_guarantee: 1.6 | ||
mem_limit: null | ||
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 | ||
kubespawner_override: | ||
mem_guarantee: 489.13G | ||
cpu_guarantee: 6.4 | ||
mem_limit: null | ||
node_selector: | ||
node.kubernetes.io/instance-type: r5.16xlarge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
basehub: | ||
jupyterhub: | ||
hub: | ||
config: | ||
CILogonOAuthenticator: | ||
client_id: ENC[AES256_GCM,data:1C0ercYZjjc63vTPPcVa7B0Y1bnuawg854Yf3Kl4UnJ0gYuqem+zuv1lQfOzU8zKXy5L,iv:2IZjb7WzomJg8I9uDDXINjULJPXUBfJCldMOxH+B8tA=,tag:Dv1xaVkDCpI7/GLuGv6GzA==,type:str] | ||
client_secret: ENC[AES256_GCM,data:2mGbTTnKcVZp57ZX2Tj2o+j2y0NfABPtTiV6sw3oWlR/t7w4fiFkSK9cyArnJwQfRjWc6M6NNB50A3zWZrKaoPLRj8Afiq8pFTjtRZnZGe5g4h2mXYg=,iv:xmJEHc2V0aG1KEh2eAPj80tZoNzFnBz42QdCSmzO2mc=,tag:+48SuYVdlJCizaYVMn9hrA==,type:str] | ||
sops: | ||
kms: [] | ||
gcp_kms: | ||
- resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs | ||
created_at: "2023-12-14T18:24:33Z" | ||
enc: CiUA4OM7eKr6IJS10QOinx3kZfdMUdO4HmyV6U+JIe+s7IqTAm1DEkkAjTWv+ifsDVRYeh6Gdg0+tLE53DfZfJP0xHGuo6yxdoREE2FGKpodr42/SaaTUt2k5zKlg6k9tOe4FgmRGCT5JjIltibg5hwU | ||
azure_kv: [] | ||
hc_vault: [] | ||
age: [] | ||
lastmodified: "2023-12-14T18:24:34Z" | ||
mac: ENC[AES256_GCM,data:0Kde6XE/A7k9CwhxQFsa3I61ohr9WN7AO2haWkFETpDG+jXtU5MYkrScbwnlayLa0vM6vk2OfUxR6LrB9jPcxTx8+n2Pqx6kPTzgr8a8ORhG4xc6Lqj0a1KyDMdnGi5beqoXSxolPyd1mnSTAFAVIGwle37Gg0fIr0VFii9lsfQ=,iv:gPVYPvyTEriA9sxbmtMRo611b5dB5idYa0J+DtEYcaY=,tag:RNOItHNKtUGZ/UgfT1Ea2Q==,type:str] | ||
pgp: [] | ||
unencrypted_suffix: _unencrypted | ||
version: 3.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
basehub: | ||
jupyterhub: | ||
hub: | ||
config: | ||
CILogonOAuthenticator: | ||
client_id: ENC[AES256_GCM,data:Lv/25K0A8CZs6dK20mujkn536hpreimP/MUqGOJ4cpXLTFnJNRmGkN7mYPC2klalEKcn,iv:nj4b7Y75A9wgg+w2XBas17Cs8Az3AzDkeO9u1ZwI1Jo=,tag:gCMMoa3iQWVRQvTQkCIkAg==,type:str] | ||
client_secret: ENC[AES256_GCM,data:EAD3iQGXs7soD4VxRXol2YuuJBmOpDBbX5Cg+VyTk7xA7Jn715vZMNBeOKtal1a6kzyds3tuw+h+DWsF3Dod2MxHS7H4FARHLopP9xuAvS6Tw3mZZ28=,iv:F8CqwLYz7WR5qge0Yj91aU/w5pj6fiEaBvndVe4zvG4=,tag:60BekNlkRhf2a3Nkvo1kWg==,type:str] | ||
sops: | ||
kms: [] | ||
gcp_kms: | ||
- resource_id: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs | ||
created_at: "2023-12-14T18:42:48Z" | ||
enc: CiUA4OM7eGqP+F9UNcdWkWcEANT1YIeSiFyzogRgfD+PMhJISk+lEkkAjTWv+sk2C+z/gAjXwaTvoJEJKeuCyiegMLu8QTkJ1KCtcQEU52qv/gm6HvBAlQAnTUKxpQFejxzGOp/8+FNCZiAuaT2hHq1D | ||
azure_kv: [] | ||
hc_vault: [] | ||
age: [] | ||
lastmodified: "2023-12-14T18:42:52Z" | ||
mac: ENC[AES256_GCM,data:DWO/hv47PbcFx8NATfOJrLUMkOV3dTUzr53nUtpDge+NseEOSoMKeEWz1L7jWYhM+Iga05csm78BT9c3gI921dKlOXRJ6fn1e5guxqKPOAuZugbWUeEqGa8Z26sAwuSRXIZyWiWDJZJThsNk4+s0s7vZmXcrGHGjWA3eCEvTwxE=,iv:9QDeyrmE0euFgqcvZMCuubNA44YB8x2Sa1CqEGJjKjM=,tag:qj5ZnX1TS2Lt4QbXuJFB0Q==,type:str] | ||
pgp: [] | ||
unencrypted_suffix: _unencrypted | ||
version: 3.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
basehub: | ||
jupyterhub: | ||
ingress: | ||
hosts: [earthscope.2i2c.cloud] | ||
tls: | ||
- hosts: [earthscope.2i2c.cloud] | ||
secretName: https-auto-tls | ||
custom: | ||
homepage: | ||
templateVars: | ||
org: | ||
name: "EarthScope" | ||
hub: | ||
config: | ||
CILogonOAuthenticator: | ||
oauth_callback_url: https://earthscope.2i2c.cloud/hub/oauth_callback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
basehub: | ||
jupyterhub: | ||
ingress: | ||
hosts: [staging.earthscope.2i2c.cloud] | ||
tls: | ||
- hosts: [staging.earthscope.2i2c.cloud] | ||
secretName: https-auto-tls | ||
custom: | ||
homepage: | ||
templateVars: | ||
org: | ||
name: "EarthScope staging" | ||
hub: | ||
config: | ||
CILogonOAuthenticator: | ||
oauth_callback_url: https://staging.earthscope.2i2c.cloud/hub/oauth_callback |