CLI¶
Usage:
$ [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
deploy
: deploy toolsservices
: services [start|stop] toolstemplate
: template tools
deploy
¶
deploy tools
Usage:
$ deploy [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
deploy
deploy deploy
¶
Usage:
$ deploy deploy [OPTIONS]
Options:
--config FILE
: [required]--help
: Show this message and exit.
services
¶
services [start|stop] tools
Usage:
$ services [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
all
: [start|stop] all servicescluster-manager
: [start|stop] cluster manager servicecluster-worker
: [start|stop] cluster worker servicecoordinator
: [start|stop] coordinator servicemaster
: [start|stop] master service
services all
¶
[start|stop] all services
Usage:
$ services all [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
start
: start all servicesstop
: stop all services
services all start
¶
start all services
Usage:
$ services all start [OPTIONS] CONFIG
Arguments:
CONFIG
: [required]
Options:
--help
: Show this message and exit.
services all stop
¶
stop all services
Usage:
$ services all stop [OPTIONS] CONFIG
Arguments:
CONFIG
: [required]
Options:
--help
: Show this message and exit.
services cluster-manager
¶
[start|stop] cluster manager service
Usage:
$ services cluster-manager [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
start
: start cluster managerstop
: stop cluster manager
services cluster-manager start
¶
start cluster manager
Usage:
$ services cluster-manager start [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR MANAGER_PORT
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]MANAGER_PORT
: port number for cluster manager to serve [required]
Options:
--help
: Show this message and exit.
services cluster-manager stop
¶
stop cluster manager
Usage:
$ services cluster-manager stop [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR MANAGER_PORT
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]MANAGER_PORT
: port number for cluster manager to serve [required]
Options:
--help
: Show this message and exit.
services cluster-worker
¶
[start|stop] cluster worker service
Usage:
$ services cluster-worker [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
start
: start cluster workerstop
: stop cluster worker
services cluster-worker start
¶
start cluster worker
Usage:
$ services cluster-worker start [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR NAME LOCAL_IP PORT_START PORT_END MAX_TASKS CLUSTER_MANAGER_ADDRESS
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]NAME
: worker name [required]LOCAL_IP
: local ip [required]PORT_START
: port start [required]PORT_END
: port start [required]MAX_TASKS
: num of maximum parallel tasks [required]CLUSTER_MANAGER_ADDRESS
: cluster manager address [required]
Options:
--data-dir TEXT
: data dir--help
: Show this message and exit.
services cluster-worker stop
¶
stop cluster worker
Usage:
$ services cluster-worker stop [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR NAME
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]NAME
: worker name [required]
Options:
--help
: Show this message and exit.
services coordinator
¶
[start|stop] coordinator service
Usage:
$ services coordinator [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
start
: start coordinatorstop
: stop coordinator
services coordinator start
¶
start coordinator
Usage:
$ services coordinator start [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR COORDINATOR_PORT
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]COORDINATOR_PORT
: port number for coordinator to serve [required]
Options:
--help
: Show this message and exit.
services coordinator stop
¶
stop coordinator
Usage:
$ services coordinator stop [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR COORDINATOR_PORT
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]COORDINATOR_PORT
: port number for coordinator to serve [required]
Options:
--help
: Show this message and exit.
services master
¶
[start|stop] master service
Usage:
$ services master [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
start
: start masterstop
: stop master
services master start
¶
start master
Usage:
$ services master start [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR SUBMIT_PORT PARTY_ID CLUSTER_MANAGER_ADDRESS COORDINATOR_ADDRESS
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]SUBMIT_PORT
: submit port [required]PARTY_ID
: party id [required]CLUSTER_MANAGER_ADDRESS
: cluster manager address [required]COORDINATOR_ADDRESS
: coordinator address [required]
Options:
--help
: Show this message and exit.
services master stop
¶
stop master
Usage:
$ services master stop [OPTIONS] MACHINE_SSH MACHINE_BASE_DIR SUBMIT_PORT
Arguments:
MACHINE_SSH
: machine ssh string: user@host:port [required]MACHINE_BASE_DIR
: deployed base name [required]SUBMIT_PORT
: submit port [required]
Options:
--help
: Show this message and exit.
template
¶
template tools
Usage:
$ template [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
generate
: generate templatestandalone
: generate template for standalone deploy
template generate
¶
generate template
Usage:
$ template generate [OPTIONS]
Options:
--help
: Show this message and exit.
template standalone
¶
generate template for standalone deploy
Usage:
$ template standalone [OPTIONS]
Options:
--help
: Show this message and exit.