-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2406 from yuvipanda/leap-user
Add ability to give users / groups write access to buckets + multi-zone GPUs
- Loading branch information
Showing
7 changed files
with
213 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,29 +25,44 @@ filestore_capacity_gb = 2048 | |
|
||
user_buckets = { | ||
"scratch-staging" : { | ||
"delete_after" : 7 | ||
"delete_after" : 7, | ||
"extra_admin_members" : [] | ||
}, | ||
"scratch" : { | ||
"delete_after" : 7 | ||
"delete_after" : 7, | ||
"extra_admin_members" : [] | ||
} | ||
# For https://github.com/2i2c-org/infrastructure/issues/1230#issuecomment-1278183441 | ||
"persistent" : { | ||
"delete_after" : null | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
}, | ||
"persistent-staging" : { | ||
"delete_after" : null | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
} | ||
# For https://github.com/2i2c-org/infrastructure/issues/1230#issuecomment-1278183441 | ||
"persistent-ro" : { | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
}, | ||
"persistent-ro-staging" : { | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
} | ||
} | ||
|
||
hub_cloud_permissions = { | ||
"staging" : { | ||
requestor_pays : true, | ||
bucket_admin_access : ["scratch-staging", "persistent-staging"], | ||
bucket_readonly_access : ["persistent-ro-staging"], | ||
hub_namespace : "staging" | ||
}, | ||
"prod" : { | ||
requestor_pays : true, | ||
bucket_admin_access : ["scratch", "persistent"], | ||
bucket_readonly_access : ["persistent-ro"], | ||
hub_namespace : "prod" | ||
} | ||
} | ||
|
@@ -69,7 +84,15 @@ notebook_nodes = { | |
enabled : true, | ||
type : "nvidia-tesla-t4", | ||
count : 1 | ||
} | ||
}, | ||
zones : [ | ||
# Get GPUs wherever they are available, as sometimes a single | ||
# zone might be out of GPUs. | ||
"us-central1-a", | ||
"us-central1-b", | ||
"us-central1-c", | ||
"us-central1-f" | ||
] | ||
}, | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,13 +22,16 @@ user_buckets = { | |
}, | ||
# For https://2i2c.freshdesk.com/a/tickets/218 | ||
"persistent" : { | ||
"delete_after" : null | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
}, | ||
"persistent-staging" : { | ||
"delete_after" : null | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
}, | ||
"public-persistent" : { | ||
"delete_after" : null | ||
"delete_after" : null, | ||
"extra_admin_members" : ["group:[email protected]"] | ||
}, | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters