Skip to content

Commit

Permalink
Merge pull request #3319 from GeorgianaElena/add-default-machine-types
Browse files Browse the repository at this point in the history
Make all GCP clusters support the instance types 4, 16, and 64 CPU highmem nodes
  • Loading branch information
GeorgianaElena authored Oct 31, 2023
2 parents f9fbcef + 36cd208 commit dd8760f
Show file tree
Hide file tree
Showing 15 changed files with 141 additions and 23 deletions.
15 changes: 13 additions & 2 deletions terraform/gcp/projects/2i2c-uk.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ enable_filestore = true
filestore_capacity_gb = 1024

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"user" : {
min : 0,
max : 20,
machine_type : "n2-highmem-4"
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
}

user_buckets = {}
9 changes: 6 additions & 3 deletions terraform/gcp/projects/awi-ciroh.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,23 @@ user_buckets = {

# Setup notebook node pools
notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"small" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4"
machine_type : "n2-highmem-4",
},
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16"
machine_type : "n2-highmem-16",
},
# FIXME: Rename this to "n2-highmem-64" when given the chance and no such nodes are running
"large" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64"
machine_type : "n2-highmem-64",
},
}

Expand Down
8 changes: 4 additions & 4 deletions terraform/gcp/projects/basehub-template.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,21 @@ enable_filestore = true
filestore_capacity_gb = 1024

notebook_nodes = {
"small" : {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
"medium" : {
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"large" : {
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
},
}
}

user_buckets = {}
15 changes: 13 additions & 2 deletions terraform/gcp/projects/callysto.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ enable_filestore = true
filestore_capacity_gb = 1024

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"user" : {
min : 0,
max : 20,
machine_type : "n2-highmem-4"
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
}

user_buckets = {}
3 changes: 3 additions & 0 deletions terraform/gcp/projects/catalystproject-latam.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,19 @@ filestore_capacity_gb = 1024
core_node_machine_type = "n2-highmem-2"

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"small" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
# FIXME: Rename this to "n2-highmem-64" when given the chance and no such nodes are running
"large" : {
min : 0,
max : 100,
Expand Down
15 changes: 13 additions & 2 deletions terraform/gcp/projects/cloudbank.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,22 @@ enable_filestore = true
filestore_capacity_gb = 1024

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"user" : {
min : 0,
max : 20,
machine_type : "n1-highmem-4"
max : 100,
machine_type : "n1-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
}

# Setup a single node pool for dask workers.
Expand Down
8 changes: 4 additions & 4 deletions terraform/gcp/projects/daskhub-template.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ hub_cloud_permissions = {

# Setup notebook node pools
notebook_nodes = {
"small" : {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
"medium" : {
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"large" : {
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
},
}
}

# Setup a single node pool for dask workers.
Expand Down
11 changes: 11 additions & 0 deletions terraform/gcp/projects/hhmi.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,22 @@ hub_cloud_permissions = {}

# Setup notebook node pools
notebook_nodes = {
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
}

# Setup a single node pool for dask workers.
Expand Down
11 changes: 11 additions & 0 deletions terraform/gcp/projects/leap.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,24 @@ hub_cloud_permissions = {

# Setup notebook node pools
notebook_nodes = {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
# A minimum of one is configured for LEAP to ensure quick startups at all
# time. Cost is not a greater concern than optimizing startup times.
min : 1,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64"
}
"gpu-t4" : {
min : 0,
max : 100,
Expand Down
12 changes: 10 additions & 2 deletions terraform/gcp/projects/linked-earth.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,24 @@ user_buckets = {

# Setup notebook node pools
notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"small" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4"
machine_type : "n2-highmem-4",
},
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16"
machine_type : "n2-highmem-16",
},
# FIXME: Rename this to "n2-highmem-64" when given the chance and no such nodes are running
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
}

# Setup a single node pool for dask workers.
Expand Down
15 changes: 15 additions & 0 deletions terraform/gcp/projects/m2lines.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ user_buckets = {

# Setup notebook node pools
notebook_nodes = {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
},
"small" : {
min : 0,
max : 100,
Expand Down
6 changes: 3 additions & 3 deletions terraform/gcp/projects/meom-ige.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ notebook_nodes = {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4"
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16"
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64"
machine_type : "n2-highmem-64",
},
"small" : {
min : 0,
Expand Down
15 changes: 15 additions & 0 deletions terraform/gcp/projects/pangeo-hubs.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,21 @@ user_buckets = {

# Setup notebook node pools
notebook_nodes = {
"n2-highmem-4" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
},
"small" : {
min : 0,
max : 100,
Expand Down
13 changes: 12 additions & 1 deletion terraform/gcp/projects/pilot-hubs.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@ enable_filestore = true
filestore_capacity_gb = 5120

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"user" : {
min : 0,
max : 20,
max : 100,
machine_type : "n2-highmem-4",
},
"n2-highmem-16" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
"climatematch" : {
min : 0,
max : 100,
Expand Down
8 changes: 8 additions & 0 deletions terraform/gcp/projects/qcl.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,29 @@ user_buckets = {
}

notebook_nodes = {
# FIXME: Rename this to "n2-highmem-4" when given the chance and no such nodes are running
"small" : {
min : 0,
max : 100,
machine_type : "n2-highmem-4",
},
# FIXME: Rename this to "n2-highmem-16" when given the chance and no such nodes are running
"medium" : {
min : 0,
max : 100,
machine_type : "n2-highmem-16",
},
# FIXME: Rename this to "n2-highmem-48" when given the chance and no such nodes are running
"large" : {
min : 0,
max : 100,
machine_type : "n2-standard-48",
},
"n2-highmem-64" : {
min : 0,
max : 100,
machine_type : "n2-highmem-64",
}
"huge" : {
min : 0,
max : 100,
Expand Down

0 comments on commit dd8760f

Please sign in to comment.