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

Add hhmi cluster #3129

Merged
merged 1 commit into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 4 additions & 12 deletions terraform/gcp/projects/daskhub-template.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,18 @@ enable_filestore = true
filestore_capacity_gb = 1024

user_buckets = {
"scratch-staging" : {
"delete_after" : 7
},
"scratch" : {
"scratch-{{ hub_name }}" : {
"delete_after" : 7
},
# Tip: add more scratch buckets below, if this cluster will be multi-tenant
}

hub_cloud_permissions = {
"staging" : {
"{{ hub_name }}" : {
requestor_pays : true,
bucket_admin_access : ["scratch-staging", "persistent-staging"],
hub_namespace : "staging"
bucket_admin_access : ["scratch-{{ hub_name }}"],
hub_namespace : "{{ hub_name }}"
},
"prod" : {
requestor_pays : true,
bucket_admin_access : ["scratch", "persistent"],
hub_namespace : "prod"
}
# Tip: add more namespaces below, if this cluster will be multi-tenant
}

Expand Down
53 changes: 53 additions & 0 deletions terraform/gcp/projects/hhmi.tfvars
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
prefix = "hhmi"
project_id = "hhmi"

zone = "us-west2"
region = "us-west2"

# Default to a HA cluster for reliability
regional_cluster = true

core_node_machine_type = "n2-highmem-4"

# Network policy is required to enforce separation between hubs on multi-tenant clusters
# Tip: uncomment the line below if this cluster will be multi-tenant
# enable_network_policy = true

# Setup a filestore for in-cluster NFS
enable_filestore = true
filestore_capacity_gb = 1024

user_buckets = {}
hub_cloud_permissions = {}

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

# Setup a single node pool for dask workers.
#
# A not yet fully established policy is being developed about using a single
# node pool, see https://github.com/2i2c-org/infrastructure/issues/2687.
#
dask_nodes = {
"worker" : {
min : 0,
max : 200,
machine_type : "n2-highmem-16",
},
}