pcluster delete - AWS ParallelCluster

pcluster delete

Deletes a cluster.

pcluster delete [ -h ] [ -c CONFIG_FILE ] [ -r REGION ] [ -nw ] cluster_name

Positional Arguments

cluster_name

Specifies the name of the cluster to delete.

Named Arguments

-h, --help

Shows the help text for the specified command.

-c CONFIG_FILE, --config CONFIG_FILE

Specifies the alternative configuration file to use.

Defaults to ~/.parallelcluster/config.

--keep-logs

Keep the CloudWatch Logs data after deleting the cluster. The log group remains until it's deleted manually, but the log events will expire based on the retention_days setting. The setting defaults to 14 days.

Note

Support for the --keep-logs argument was added in AWS ParallelCluster 2.6.0.

-r REGION, --region REGION

Specifies the Region to connect to.

When the command is called and begins polling for the status of that call, it is safe to use "Ctrl-C" to exit. You can return to viewing the current status by calling pcluster status mycluster.