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

cryocloud: Use EBS volumes with per user quotas for home dir storage #5227

Merged
merged 4 commits into from
Dec 12, 2024
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
6 changes: 5 additions & 1 deletion config/clusters/nasa-cryo/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ basehub:
volumeReporter:
enabled: false
pv:
# pv.serverIP is set in each individual staging and prod config file
enabled: true
# from https://docs.aws.amazon.com/efs/latest/ug/mounting-fs-nfs-mount-settings.html
mountOptions:
Expand All @@ -13,7 +14,6 @@ basehub:
- soft # We pick soft over hard, so NFS lockups don't lead to hung processes
- retrans=2
- noresvport
serverIP: fs-0872256335d483d5f.efs.us-west-2.amazonaws.com
baseShareName: /
dask-gateway:
enabled: true
Expand Down Expand Up @@ -270,3 +270,7 @@ basehub:
scheduling:
userScheduler:
enabled: true
jupyterhub-home-nfs:
enabled: true
eks:
enabled: true
9 changes: 9 additions & 0 deletions config/clusters/nasa-cryo/prod.values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
basehub:
nfs:
pv:
serverIP: 10.100.217.176
userServiceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::574251165169:role/nasa-cryo-prod
Expand Down Expand Up @@ -30,3 +33,9 @@ basehub:
extraPodConfig:
nodeSelector:
2i2c/hub-name: prod
jupyterhub-home-nfs:
eks:
volumeId: vol-00b9cf4a258bce8ef
quotaEnforcer:
hardQuota: "350" # in GB
path: "/export/prod"
2 changes: 0 additions & 2 deletions config/clusters/nasa-cryo/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ basehub:
nodeSelector:
2i2c/hub-name: staging
jupyterhub-home-nfs:
enabled: true
eks:
enabled: true
volumeId: vol-02e09b4fdbf07100a
quotaEnforcer:
hardQuota: "0.1" # in GB
Expand Down
6 changes: 6 additions & 0 deletions terraform/aws/projects/nasa-cryo.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ ebs_volumes = {
type = "gp3"
name_suffix = "staging"
tags = { "2i2c:hub-name" : "staging" }
},
"prod" = {
size = 3500
type = "gp3"
name_suffix = "prod"
tags = { "2i2c:hub-name" : "prod" }
}
}

Expand Down
Loading