Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from 2i2c-org:main #705

Merged
merged 31 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
dce0214
Put dask workers into their own nodepool per hub and tag them
GeorgianaElena Nov 20, 2024
50bb7a7
Merge pull request #5156 from GeorgianaElena/gridsst-dask
GeorgianaElena Nov 20, 2024
2e792e3
opensci: put dask workers into their own nodepool per hub and tag them
GeorgianaElena Nov 20, 2024
558f4fd
Merge pull request #5157 from GeorgianaElena/opensci-dask
GeorgianaElena Nov 20, 2024
9dac63f
Tag dask nodes with a purpose tag
GeorgianaElena Nov 20, 2024
a302d7f
smithsonian: put dask workers into a nodepool per hub
GeorgianaElena Nov 20, 2024
f6f46f9
Merge pull request #5158 from GeorgianaElena/dask-hub-split
GeorgianaElena Nov 20, 2024
dba8188
earthscope: tag dask nodes with a purpose tag
GeorgianaElena Nov 20, 2024
160b11f
earthscope: put dask workers into a nodepool per hub
GeorgianaElena Nov 20, 2024
e7a9b25
Merge pull request #5159 from GeorgianaElena/dask-hub-split
GeorgianaElena Nov 20, 2024
7c9e816
jupyter-meets-the-earth: tag dask nodes with a purpose tag
GeorgianaElena Nov 20, 2024
8d8ad5b
jupyter-meets-the-earth: put dask workers into a nodepool per hub
GeorgianaElena Nov 20, 2024
57bbf6e
Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
485cb25
Merge pull request #5160 from GeorgianaElena/dask-hub-split
GeorgianaElena Nov 20, 2024
00df47e
gridsst: Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
9ff114b
opensci: Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
1833413
smithsonian: Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
1bd61c9
earthscope: Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
aeb83ae
Fix typo
GeorgianaElena Nov 20, 2024
de6d52a
Only setup dask-gateway for daskhubs
GeorgianaElena Nov 20, 2024
56357bd
Indent correctly the setup and add missing key
GeorgianaElena Nov 20, 2024
30cbafb
Fix typo
GeorgianaElena Nov 20, 2024
73ddeb8
Merge pull request #5161 from GeorgianaElena/dask-hub-split
GeorgianaElena Nov 20, 2024
28d01a1
nasa-cryo: tag dask nodes with a purpose tag
GeorgianaElena Nov 20, 2024
affa241
nasa-ghg: put dask workers into a nodepool per hub
GeorgianaElena Nov 20, 2024
807fd1f
nasa-ghg: Configure dask workers to use the new nodegroups
GeorgianaElena Nov 20, 2024
c07a4a0
Merge pull request #5162 from GeorgianaElena/dask-hub-split
GeorgianaElena Nov 20, 2024
87ac8c8
terraform: remove outdated comment
consideRatio Nov 20, 2024
0b2f11c
Merge pull request #5163 from consideRatio/pr/azure-terraform-fix
consideRatio Nov 20, 2024
d22700e
ohw.values.yaml, new R and Python images
emiliom Nov 20, 2024
6e455d0
Merge pull request #5167 from emiliom/patch-5
jnywong Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions config/clusters/2i2c-aws-us/dask-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ basehub:
GitHubOAuthenticator:
oauth_callback_url: "https://dask-staging.aws.2i2c.cloud/hub/oauth_callback"

dask-gateway:
gateway:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: dask-staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: dask-staging
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: dask-staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: dask-staging
21 changes: 11 additions & 10 deletions config/clusters/2i2c-aws-us/ncar-cisl.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,14 @@ basehub:
extra_resource_limits:
nvidia.com/gpu: "1"

dask-gateway:
gateway:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: ncar-cisl
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: ncar-cisl
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: ncar-cisl
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: ncar-cisl
21 changes: 11 additions & 10 deletions config/clusters/2i2c-aws-us/showcase.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,14 @@ basehub:
extra_resource_limits:
nvidia.com/gpu: "1"

dask-gateway:
gateway:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: showcase
4 changes: 2 additions & 2 deletions config/clusters/2i2c/ohw.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ basehub:
description: "~2 CPU, ~8G RAM"
default: true
kubespawner_override:
image: "ghcr.io/oceanhackweek/python:37f83fb"
image: "ghcr.io/oceanhackweek/python:2f04c57"
default_url: "/lab"
mem_limit: 8G
mem_guarantee: 4G
Expand All @@ -35,7 +35,7 @@ basehub:
- display_name: "R en RStudio"
description: "~2 CPU, ~8G RAM"
kubespawner_override:
image: "ghcr.io/oceanhackweek/r:13f3be6"
image: "ghcr.io/oceanhackweek/r:6db529b"
default_url: "/rstudio"
mem_limit: 8G
mem_guarantee: 4G
Expand Down
11 changes: 11 additions & 0 deletions config/clusters/earthscope/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,14 @@ basehub:
2i2c/hub-name: prod
extraEnv:
SCRATCH_BUCKET: s3://earthscope-scratch/$(JUPYTERHUB_USER)
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
11 changes: 11 additions & 0 deletions config/clusters/earthscope/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,14 @@ basehub:
2i2c/hub-name: staging
extraEnv:
SCRATCH_BUCKET: s3://earthscope-scratch-staging/$(JUPYTERHUB_USER)
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
11 changes: 11 additions & 0 deletions config/clusters/gridsst/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@ basehub:
singleuser:
nodeSelector:
2i2c/hub-name: prod
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
11 changes: 11 additions & 0 deletions config/clusters/gridsst/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@ basehub:
singleuser:
nodeSelector:
2i2c/hub-name: staging
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
11 changes: 11 additions & 0 deletions config/clusters/jupyter-meets-the-earth/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,14 @@ basehub:
nodeSelector:
2i2c/hub-name: prod
node.kubernetes.io/instance-type: m5.xlarge
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
11 changes: 11 additions & 0 deletions config/clusters/jupyter-meets-the-earth/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ basehub:
2i2c/hub-name: staging
extraEnv:
SCRATCH_BUCKET: s3://jupyter-meets-the-earth-scratch-staging/$(JUPYTERHUB_USER)
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
11 changes: 11 additions & 0 deletions config/clusters/nasa-ghg/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,14 @@ basehub:
singleuser:
nodeSelector:
2i2c/hub-name: prod
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
12 changes: 12 additions & 0 deletions config/clusters/nasa-ghg/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ basehub:
userServiceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::597746869805:role/nasa-ghg-hub-staging
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging

jupyterhub:
ingress:
hosts: [staging.ghg.2i2c.cloud]
Expand Down
8 changes: 8 additions & 0 deletions config/clusters/opensci/big-binder.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ dask-gateway:
gateway:
backend:
imagePullSecrets: [{ name: image-pull-secret }]
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: big-binder
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: big-binder
jupyterhub:
ingress:
hosts: [hub.big.binder.opensci.2i2c.cloud]
Expand Down
11 changes: 11 additions & 0 deletions config/clusters/opensci/climaterisk.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ jupyterhub:
cpu:
guarantee: 1.8625
limit: 3.725
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: climaterisk
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: climaterisk
11 changes: 11 additions & 0 deletions config/clusters/smithsonian/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ basehub:
singleuser:
nodeSelector:
2i2c/hub-name: prod
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
11 changes: 11 additions & 0 deletions config/clusters/smithsonian/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,14 @@ basehub:
singleuser:
nodeSelector:
2i2c/hub-name: staging
dask-gateway:
gateway:
backend:
scheduler:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
worker:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
20 changes: 18 additions & 2 deletions eksctl/earthscope.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,25 @@ local daskNodes = [
// A not yet fully established policy is being developed about using a single
// node pool, see https://github.com/2i2c-org/infrastructure/issues/2687.
//
{
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] },
{
namePrefix: "dask-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: {
"2i2c:hub-name": "staging",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
{
namePrefix: "dask-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: {
"2i2c:hub-name": "prod",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
];

Expand Down Expand Up @@ -235,6 +248,9 @@ local daskNodes = [
"k8s.dask.org_dedicated" : "worker:NoSchedule",
"k8s.dask.org/dedicated" : "worker:NoSchedule"
},
tags+: {
"2i2c:node-purpose": "worker"
},
instancesDistribution+: {
onDemandBaseCapacity: 0,
onDemandPercentageAboveBaseCapacity: 0,
Expand Down
16 changes: 15 additions & 1 deletion eksctl/gridsst.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,18 @@ local daskNodes = [
// A not yet fully established policy is being developed about using a single
// node pool, see https://github.com/2i2c-org/infrastructure/issues/2687.
//
{ instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }},
{
namePrefix: "dask-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: { "2i2c:hub-name": "staging" },
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
{
namePrefix: "dask-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: { "2i2c:hub-name": "prod" },
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
];


Expand Down Expand Up @@ -294,6 +305,9 @@ local daskNodes = [
labels+: {
"k8s.dask.org/node-purpose": "worker"
},
tags+: {
"2i2c:node-purpose": "worker"
},
taints+: {
"k8s.dask.org_dedicated" : "worker:NoSchedule",
"k8s.dask.org/dedicated" : "worker:NoSchedule"
Expand Down
16 changes: 15 additions & 1 deletion eksctl/jupyter-meets-the-earth.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,18 @@ local daskNodes = [
// A not yet fully established policy is being developed about using a single
// node pool, see https://github.com/2i2c-org/infrastructure/issues/2687.
//
{ instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }},
{
namePrefix: "dask-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: { "2i2c:hub-name": "staging" },
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
{
namePrefix: "dask-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: { "2i2c:hub-name": "prod" },
instancesDistribution+: { instanceTypes: ["r5.4xlarge"] }
},
];


Expand Down Expand Up @@ -320,6 +331,9 @@ local daskNodes = [
labels+: {
"k8s.dask.org/node-purpose": "worker"
},
tags+: {
"k8s.dask.org/node-purpose": "worker"
},
taints+: {
"k8s.dask.org_dedicated" : "worker:NoSchedule",
"k8s.dask.org/dedicated" : "worker:NoSchedule"
Expand Down
Loading
Loading