a CLI to mange fleets of remote Dask clusters via JLab Dask extension
-
go to https://cms-it-hub.cloud.cnaf.infn.it/hub/token and get one token
-
use the token as password to connect to your on-demand UI via:
ssh <username>@cms-it-hub.cloud.cnaf.infn.it -p 32022
- Install via pip
pip install git+https://github.com/comp-dev-cms-ita/dfleet
- Setup the environment
# you do NOT need to set JUPYTERHUB_API_TOKEN if you sit on a jlab instance
# this is only needed if you are running the CLI from your laptop
export JUPYTERHUB_API_TOKEN=<PUT JHUB TOKEN HERE>
export JUPYTERHUB_HOST=https://cms-it-hub.cloud.cnaf.infn.it
dfleet cluster create --sitename HTCondor-T2_LNL_PD_CloudVeneto
For more options:
dfleet cluster create --help
dfleet cluster edit --adapt '{"minimum": 20, "maximum": 60}' <PUT CLUSTER ID HERE>
dfleet cluster status <PUT CLUSTER ID HERE>
dfleet cluster delete <PUT CLUSTER ID HERE>
dfleet cluster list