fetch capacity and simulate task fitting

This commit is contained in:
nhatle 2022-07-26 11:00:07 -07:00
parent 66bd6308ce
commit 2ca005eea8
6 changed files with 167 additions and 1 deletions

View file

@ -29,7 +29,8 @@ import (
var username, password, zkAddr, schedAddr string
var env, role, name = new(string), new(string), new(string)
var ram, disk int64
var dedicated string
var ram, disk, gpu, port int64
var cpu float64
var client *realis.Client
var skipCertVerification bool