toil.utils.toilSshCluster¶
SSH into the toil appliance container running on the leader of the cluster.
Attributes¶
Exceptions¶
Indicates that the specified cluster does not exist. |
Functions¶
|
|
|
Find and instantiate the appropriate provisioner instance to make clusters in the given cloud. |
|
|
|
Module Contents¶
- toil.utils.toilSshCluster.parser_with_common_options(provisioner_options=False, jobstore_option=True, prog=None, default_log_level=None)[source]¶
- toil.utils.toilSshCluster.cluster_factory(provisioner, clusterName=None, clusterType='mesos', zone=None, nodeStorage=50, nodeStorageOverrides=None, sseKey=None, enable_fuse=False)[source]¶
Find and instantiate the appropriate provisioner instance to make clusters in the given cloud.
Raises ClusterTypeNotSupportedException if the given provisioner does not implement clusters of the given type.
- Parameters:
provisioner (str) – The cloud type of the cluster.
clusterName (Optional[str]) – The name of the cluster.
clusterType (str) – The type of cluster: ‘mesos’ or ‘kubernetes’.
zone (Optional[str]) – The cloud zone
nodeStorage (int)
nodeStorageOverrides (Optional[List[str]])
sseKey (Optional[str])
enable_fuse (bool)
- Returns:
A cluster object for the the cloud type.
- Return type:
Union[aws.awsProvisioner.AWSProvisioner, gceProvisioner.GCEProvisioner]
- exception toil.utils.toilSshCluster.NoSuchClusterException(cluster_name)[source]¶
Bases:
ExceptionIndicates that the specified cluster does not exist.
- Parameters:
cluster_name (str)
- toil.utils.toilSshCluster.set_logging_from_options(options)[source]¶
- Parameters:
options (Union[toil.common.Config, argparse.Namespace])
- Return type:
None
- toil.utils.toilSshCluster.logger¶