Page MenuHomePhabricator

[jobs-cli,jobs-api] quota shows different units for limit and usage
Closed, ResolvedPublic

Description

When running the quota command, you get different units for the same numbers, making it hard to compare:

tools.superyetkin@tools-sgebastion-10:~$ toolforge jobs quota
Running jobs                                  Used        Limit
--------------------------------------------  ----------  -------
Total running jobs at once (Kubernetes pods)  3           16
Running one-off and cron jobs                 15          15
CPU                                           1500m       8
Memory                                        8536870912  8Gi

(the memory one specifically)

Event Timeline

dcaro triaged this task as Medium priority.Mar 27 2024, 4:03 PM
dcaro edited projects, added Toolforge; removed Toolforge (Toolforge iteration 09).
dcaro added a subscriber: Raymond_Ndibe.
Raymond_Ndibe changed the task status from Open to In Progress.Aug 19 2024, 12:05 AM
Raymond_Ndibe reopened this task as In Progress.
Raymond_Ndibe moved this task from Done to In Review on the Toolforge (Toolforge iteration 16) board.

group_203_bot_4866fc124f4b41659f667468a6115cf3 opened https://gitlab.wikimedia.org/repos/cloud/toolforge/toolforge-deploy/-/merge_requests/656

jobs-api: bump to 0.0.346-20250123135045-edb3fcc8