Skip to content

Commit

Permalink
Merge pull request #5107 from sgibson91/earthscope/dedicated-nodegroups
Browse files Browse the repository at this point in the history
earthscope: add hub-specific nodegroups
  • Loading branch information
sgibson91 authored Nov 14, 2024
2 parents 77619f1 + d011c1a commit 147c003
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/clusters/earthscope/prod.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ basehub:
# This isn't an actual URL, just a string. Must not have a trailing slash
audience: https://api.earthscope.org
singleuser:
nodeSelector:
2i2c/hub-name: prod
extraEnv:
SCRATCH_BUCKET: s3://earthscope-scratch/$(JUPYTERHUB_USER)
2 changes: 2 additions & 0 deletions config/clusters/earthscope/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ basehub:
# This isn't an actual URL, just a string. Must not have a trailing slash
audience: https://api.dev.earthscope.org
singleuser:
nodeSelector:
2i2c/hub-name: staging
extraEnv:
SCRATCH_BUCKET: s3://earthscope-scratch-staging/$(JUPYTERHUB_USER)
39 changes: 39 additions & 0 deletions eksctl/earthscope.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,60 @@ local nodeAz = "us-east-2a";
local notebookNodes = [
{
instanceType: "r5.xlarge",
namePrefix: "nb-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: {
"2i2c:hub-name": "staging",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
},
{
instanceType: "r5.xlarge",
namePrefix: "nb-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: {
"2i2c:hub-name": "prod",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
},
{
instanceType: "r5.4xlarge",
namePrefix: "nb-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: {
"2i2c:hub-name": "staging",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
},
{
instanceType: "r5.4xlarge",
namePrefix: "nb-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: {
"2i2c:hub-name": "prod",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
},
{
instanceType: "r5.16xlarge",
namePrefix: "nb-staging",
labels+: { "2i2c/hub-name": "staging" },
tags+: {
"2i2c:hub-name": "staging",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
},
{
instanceType: "r5.16xlarge",
namePrefix: "nb-prod",
labels+: { "2i2c/hub-name": "prod" },
tags+: {
"2i2c:hub-name": "prod",
"earthscope:application:name": "geolab",
"earthscope:application:owner": "research-onramp-to-the-cloud"
},
Expand Down

0 comments on commit 147c003

Please sign in to comment.