Skip to content

Commit

Permalink
Merge branch 'master' into hhmi_add_mysql_database
Browse files Browse the repository at this point in the history
  • Loading branch information
jmunroe authored Nov 11, 2023
2 parents 650dc5d + b50605e commit cfc1a86
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions config/clusters/qcl/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ jupyterhub:
- gizmo404
- jtkmckenna
singleuser:
image:
# Required when using :latest, until https://github.com/jupyterhub/kubespawner/pull/807
# is merged
pullPolicy: Always
profileList:
# NOTE: About node sharing
#
Expand Down
4 changes: 4 additions & 0 deletions config/clusters/ubc-eoas/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ jupyterhub:
- hmodzelewski # Technical representative, Henryk Modzelewski

singleuser:
image:
# Required when using :latest, until https://github.com/jupyterhub/kubespawner/pull/807
# is merged
pullPolicy: Always
defaultUrl: /lab
memory:
# https://2i2c.freshdesk.com/a/tickets/955
Expand Down
12 changes: 10 additions & 2 deletions terraform/gcp/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ resource "google_container_node_pool" "core" {
# Faster disks provide faster image pulls!
disk_type = "pd-balanced"

resource_labels = {
"node-purpose" : "core"
}

labels = {
"hub.jupyter.org/node-purpose" = "core",
"k8s.dask.org/node-purpose" = "core"
Expand Down Expand Up @@ -336,7 +340,9 @@ resource "google_container_node_pool" "notebook" {
"https://www.googleapis.com/auth/cloud-platform"
]

resource_labels = each.value.resource_labels
resource_labels = merge({
"node-purpose" : "notebook"
}, each.value.resource_labels)

// Set these values explicitly so they don't "change outside terraform"
tags = []
Expand Down Expand Up @@ -416,7 +422,9 @@ resource "google_container_node_pool" "dask_worker" {
"https://www.googleapis.com/auth/cloud-platform"
]

resource_labels = each.value.resource_labels
resource_labels = merge({
"node-purpose" : "dask-worker"
}, each.value.resource_labels)

// Set these values explicitly so they don't "change outside terraform"
tags = []
Expand Down

0 comments on commit cfc1a86

Please sign in to comment.