Skip to content

Commit

Permalink
Setup a homedirs volume for the workshop hub and enable per-user quot…
Browse files Browse the repository at this point in the history
…a limits
  • Loading branch information
sgibson91 committed Jan 9, 2025
1 parent 602680e commit ff4f21b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions config/clusters/nmfs-openscapes/workshop.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,11 @@ jupyterhub:
cpu_limit: 15.695
node_selector:
node.kubernetes.io/instance-type: r5.4xlarge

jupyterhub-home-nfs:
eks:
enabled: true
volumeId: vol-07154b7def3b80b96
quotaEnforcer:
hardQuota: "4" # in GB
path: "/export/workshop"
8 changes: 7 additions & 1 deletion terraform/aws/projects/nmfs-openscapes.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ ebs_volumes = {
type = "gp3"
name_suffix = "prod"
tags = { "2i2c:hub-name" : "prod" }
}
},
"workshop" = {
size = 128
type = "gp3"
name_suffix = "workshop"
tags = { "2i2c:hub-name" : "workshop" }
},
}

user_buckets = {
Expand Down

0 comments on commit ff4f21b

Please sign in to comment.