pcluster update-compute-fleet
Updates the status of the cluster compute fleet.
pcluster update-compute-fleet [-h] --cluster-nameCLUSTER_NAME--status {START_REQUESTED,STOP_REQUESTED,ENABLED,DISABLED} [--debug] [--queryQUERY] [--regionREGION]
Named arguments
-h, --help-
Shows the help text for
pcluster update-compute-fleet. --cluster-name, -nCLUSTER_NAME-
Specifies the name of the cluster.
--status {START_REQUESTED,STOP_REQUESTED,ENABLED,DISABLED}-
Specifies the status applied to the cluster compute fleet. The statuses
START_REQUESTEDandSTOP_REQUESTEDcorrespond to the Slurm scheduler while the statusesENABLEDandDISABLEDcorrespond to the AWS Batch scheduler. --debug-
Enables debug logging.
--queryQUERY-
Specifies the JMESPath query to perform on the output.
--region, -rREGION-
Specifies the AWS Region to use. The AWS Region must be specified, using the
AWS_DEFAULT_REGIONenvironment variable, theregionsetting in the[default]section of the~/.aws/configfile, or the--regionparameter.
Example using AWS ParallelCluster version 3.1.4:
$pcluster update-compute-fleet -ncluster-v3--statusSTOP_REQUESTED{ "status": "STOP_REQUESTED", "lastStatusUpdatedTime": "2022-07-12T20:19:47.653Z" }