Skip to content

Commit

Permalink
prod: add default limits and quotas for GPUs
Browse files Browse the repository at this point in the history
By default a user should not get a GPU until they request one via
coldfront/openshift-acct-mgt.
  • Loading branch information
jtriley committed Nov 8, 2023
1 parent 4800967 commit ef9fc53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acct-mgt/base/configmaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data:
{
":requests.cpu": { "base": 2, "coefficient": 0 },
":requests.memory": { "base": 2, "coefficient": 0 },
":requests.nvidia.com/gpu": { "base": 0, "coefficient": 0 },
":limits.cpu": { "base": 2, "coefficient": 0 },
":limits.memory": { "base": 2, "coefficient": 0 },
":requests.storage": { "base": 2, "coefficient": 0, "units": "Gi" },
Expand Down Expand Up @@ -55,10 +56,12 @@ data:
"default": {
"cpu": "2",
"memory": "1024Mi"
"nvidia.com/gpu": "0"
},
"defaultRequest": {
"cpu": "1",
"memory": "512Mi"
"nvidia.com/gpu": "0"
}
}
]

0 comments on commit ef9fc53

Please sign in to comment.