project-codeflare / codeflare-cli

Apache License 2.0
11 stars 12 forks source link

feat: new console-based dashboard #843

Closed starpit closed 1 year ago

starpit commented 1 year ago

codeflare dashboard command

codeflare dashboard all|cpu|memory|status [jobId|-N]

if the last argument (jobId) is not supplied, the latest one in the given profile (-p/--profile) will be used. This is equivalent to supplying -1 for the jobId positional; more generally, -2 will fetch the penultimate, and -N will use the Nth-last job to be run in the profile.

you can get such a demo mode by running codeflare dashboard all --demo

codeflare dashboard

Limitations

codeflare dump command

This also adds some helpers:

codeflare dump logs|cpu|gpu|memory|status [jobId|-N]

which will dump out the raw logs, cpu stats, etc. the jobId|-N positional has the same interpretation as above.