Delete a Red Hat OpenShift Service on AWS (ROSA) cluster using the rosa command-line.

Deleting a cluster

You can delete an Red Hat OpenShift Service on AWS cluster using the rosa CLI.

If add-ons are installed, the deletion takes longer because add-ons are uninstalled before the cluster is deleted. The amount of time depends on the number and size of the add-ons.

Procedure
  1. Enter the following command to delete a cluster and watch the logs, replacing <cluster_name> with the name or ID of your cluster:

    $ rosa delete cluster --cluster=<cluster_name> --watch
  2. To clean up your CloudFormation stack, enter the following command:

    $ rosa init --delete-stack