schedulers command¶
Manage job schedulers.
usage: tethys schedulers [-h] {create-condor,create-dask,list,remove} ...
Commands¶
- sub-command
Possible choices: create-condor, create-dask, list, remove
Sub-commands:¶
create-condor¶
Create a Condor Scheduler that can be accessed by Tethys Apps.
tethys schedulers create-condor [-h] -n NAME -e ENDPOINT -u USERNAME
(-p PASSWORD | -f PRIVATE_KEY_PATH)
[-k PRIVATE_KEY_PASS]
Named Arguments¶
- -n, --name
A unique name for the Condor Scheduler
- -e, --endpoint
The endpoint of the service in the form <protocol>//<host>"
- -u, --username
The username to connect to the host with
- -p, --password
The password associated with the provided username
- -f, --private-key-path
The path to the private ssh key file
- -k, --private-key-pass
The password to the private ssh key file
create-dask¶
Create a Dask Scheduler that can be accessed by Tethys Apps.
tethys schedulers create-dask [-h] -n NAME -e ENDPOINT [-t TIMEOUT]
[-b HEARTBEAT_INTERVAL] [-d DASHBOARD]
Named Arguments¶
- -n, --name
A unique name for the Condor Scheduler
- -e, --endpoint
The endpoint of the service in the form <protocol>//<host>"
- -t, --timeout
The timeout value of the Dask Job
- -b, --heartbeat-interval
The heartbeat interval value of the Dask Job
- -d, --dashboard
The dashboard type of a DaskJob
list¶
List the existing Schedulers.
tethys schedulers list [-h] -t TYPE
Named Arguments¶
- -t, --type
input: Condor or Dask (List Condor or Dask type)
remove¶
Remove a Scheduler.
tethys schedulers remove [-h] [-f] scheduler_name
Positional Arguments¶
- scheduler_name
The unique name of the Scheduler that you are removing.
Named Arguments¶
- -f, --force
Force removal without confirming.
Default: False