Skip to content

Commit

Permalink
Merge pull request #5214 from sgibson91/cryocloud/ebs-volume-staging
Browse files Browse the repository at this point in the history
nasa-cryo: Migrate to using EBS volumes for home dirs and per-user quotas
  • Loading branch information
sgibson91 authored Dec 3, 2024
2 parents de31b5e + f30f341 commit e1d5901
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
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

0 comments on commit e1d5901

Please sign in to comment.