forked from 2i2c-org/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- traefik tag bump was required to get LE working. It's already bumped in newer z2jh versions - NFS server was again set up manually, and needed the `insecure` flag - even though other hubs are setup the same way and didn't need this. NFS situation needs to be sorted. Ref 2i2c-org#207
- Loading branch information
Showing
3 changed files
with
105 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
name: meom | ||
provider: gcp | ||
gcp: | ||
key: secrets/meom.json | ||
project: meom-ige-cnrs | ||
cluster: meom-cluster | ||
zone: us-central1-b | ||
hubs: | ||
- name: staging | ||
domain: staging.meom-ige.2i2c.cloud | ||
template: daskhub | ||
auth0: | ||
connection: github | ||
config: &meomConfig | ||
basehub: | ||
nfsPVC: | ||
nfs: | ||
# 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: nfs-server-01 | ||
baseShareName: /export/home-01/homes/ | ||
jupyterhub: | ||
custom: | ||
homepage: | ||
templateVars: | ||
org: | ||
name: "SWOT Ocean Pangeo Team" | ||
logo_url: https://2i2c.org/media/logo.png | ||
url: https://2i2c.org | ||
designed_by: | ||
name: 2i2c | ||
url: https://2i2c.org | ||
operated_by: | ||
name: 2i2c | ||
url: https://2i2c.org | ||
funded_by: | ||
name: SWOT Ocean Pangeo Team | ||
url: https://2i2c.org | ||
singleuser: | ||
image: | ||
name: pangeo/pangeo-notebook | ||
tag: 2021.02.19 | ||
scheduling: | ||
userPlaceholder: | ||
enabled: false | ||
replicas: 0 | ||
userScheduler: | ||
enabled: false | ||
proxy: | ||
service: | ||
type: LoadBalancer | ||
https: | ||
enabled: true | ||
hub: | ||
config: | ||
Authenticator: | ||
allowed_users: &users | ||
- roxyboy | ||
- lesommer | ||
- auraoupa | ||
- yuvipanda | ||
- choldgraf | ||
- GeorgianaElena | ||
admin_users: *users | ||
|
||
allowNamedServers: true | ||
networkPolicy: | ||
# FIXME: For dask gateway | ||
enabled: false | ||
readinessProbe: | ||
enabled: false | ||
dask-gateway: | ||
extraConfig: | ||
idle: | | ||
# timeout after 30 minutes of inactivity | ||
c.KubeClusterConfig.idle_timeout = 1800 | ||
- name: prod | ||
domain: meom-ige.2i2c.cloud | ||
template: daskhub | ||
auth0: | ||
connection: github | ||
config: *meomConfig |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
prefix = "meom" | ||
project_id = "meom-ige-cnrs" | ||
|
||
# Inane CPU requests mean we need at least 3 CPUs for a base node?!?! | ||
# But, we can't have custom machine sizes with odd number of CPUs - | ||
# only even numbers. So we go with 4. 3840 is the smallest amount | ||
# of RAM a 4 CPU n1 instance can have. | ||
core_node_machine_type = "n1-custom-4-3840" | ||
|
||
# Give each user ~4G of RAM and ~2CPU | ||
user_node_machine_type = "n1-custom-2-4096" | ||
|
||
|
||
# dask nodes are e2 since they are expected to autoscale | ||
dask_node_machine_type = "e2-custom-2-4096" |