Skip to content

Commit

Permalink
Retain previous node selectors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant Tiwari committed Jan 3, 2024
1 parent 26150be commit 8123adc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def list_dask_environments():

def base_node_group(options):
default_node_group = {
config["worker-node-group"]["key"]: config["worker-node-group"]["value"],
"dedicated": config["worker-node-group"]["value"]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,15 @@ resource "helm_release" "jupyterhub" {
singleuser = {
image = var.jupyterlab-image
nodeSelector = {
"${var.user-node-group.key}" = var.user-node-group.value
"dedicated" = var.user-node-group.value
}
}

scheduling = {
userScheduler = {
nodeSelector = {
"${var.general-node-group.key}" = var.general-node-group.value
"dedicated" = var.general-node-group.value
}
}
Expand Down

0 comments on commit 8123adc

Please sign in to comment.