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

find a centralized place to store data quota configuration #14

Open
longshuicy opened this issue Sep 13, 2021 · 0 comments
Open

find a centralized place to store data quota configuration #14

longshuicy opened this issue Sep 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@longshuicy
Copy link
Member

both jupyterlab, frontend and potentially services in the future will need this information

 

"incore_user":{
"datasetUsage":{"entity":200, "fileSize":"2 GB", "fileSizeByte": 2102410241024},
"hazardUsage":{"entity": 200, "fileSize":"2 GB", "fileSizeByte": 2
102410241024},
"labUsage":{ "vCPU": "2", "RAM": "4 GB", "Storage":"4 GB"}
},
"incore_coe":{
"datasetUsage":{"entity":500, "fileSize":"5 GB", "fileSizeByte": 5102410241024},
"hazardUsage":{"entity": 500, "fileSize":"5 GB", "fileSizeByte": 5
102410241024},
"labUsage":{ "vCPU": "4", "RAM": "8 GB", "Storage":"10 GB"}
},
"incore_ncsa":{
"datasetUsage":{"entity":1000, "fileSize":"10 GB", "fileSizeByte": 10102410241024},
"hazardUsage":{"entity": 1000, "fileSize":"10 GB", "fileSizeByte": 10
102410241024},
"labUsage":{ "vCPU": "4", "RAM": "8 GB", "Storage":"10 GB"}
},
// fall back if user does not belong to any group
"NA":{
"datasetUsage":{"entity":0, "fileSize":"0 GB", "fileSizeByte": 0102410241024},
"hazardUsage":{"entity": 0, "fileSize":"0 GB", "fileSizeByte": 0
102410241024},
"labUsage":{ "vCPU": "0", "RAM": "0 GB", "Storage":"0 GB"}
}

@longshuicy longshuicy added the enhancement New feature or request label Sep 13, 2021
@longshuicy longshuicy added this to the incore-lab-0.5.5 milestone Sep 13, 2021
@longshuicy longshuicy self-assigned this Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants