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

nasa-cryo: Migrate staging hub to using EBS volume for home dirs and per-user quotas #5214

Merged
merged 3 commits into from
Dec 3, 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
11 changes: 11 additions & 0 deletions config/clusters/nasa-cryo/staging.values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
basehub:
nfs:
pv:
serverIP: 10.100.177.142
userServiceAccount:
annotations:
eks.amazonaws.com/role-arn: arn:aws:iam::574251165169:role/nasa-cryo-staging
Expand Down Expand Up @@ -30,3 +33,11 @@ basehub:
extraPodConfig:
nodeSelector:
2i2c/hub-name: staging
jupyterhub-home-nfs:
enabled: true
eks:
enabled: true
volumeId: vol-02e09b4fdbf07100a
quotaEnforcer:
hardQuota: "0.1" # in GB
path: "/export/staging"
10 changes: 10 additions & 0 deletions terraform/aws/projects/nasa-cryo.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ cluster_nodes_location = "us-west-2a"

enable_aws_ce_grafana_backend_iam = true

disable_cluster_wide_filestore = false
ebs_volumes = {
"staging" = {
size = 1
type = "gp3"
name_suffix = "staging"
tags = { "2i2c:hub-name" : "staging" }
}
}

user_buckets = {
"scratch-staging" : {
"delete_after" : 7,
Expand Down
Loading