Delete the cluster
Deleting a ROSA Cluster#
To delete a ROSA cluster follow the steps below.
If you need to list your clusters in order to make sure you are deleting the correct one run
rosa list clusters
Once you know which one to delete run
rosa delete cluster --cluster=<clustername>
It will prompt you to confirm that you want to delete it. Press “y” then enter. The cluster will be deleted and all associated infrastructure. THIS IS NON-RECOVERABLE.
Please note that all AWS STS/IAM roles and policies will remain.
Once complete, you may then remove all the cluster roles and policies via the
awsCLI or from the AWS web console. These can be found uner IAM > Roles/Policies > search for "ManangedOpenShift", your specified prefix (if specified) or the cluster name.
The remaining roles would be account-scoped and should only be removed if they are no longer needed by other clusters in the same account .