Uninstalling an OpenShift cluster

Updated -

Specific instructions for uninstalling OpenShift clusters on different infrastructure providers are provided in the product documentation:

In general, to delete a cluster, run the following command from the computer used to install the cluster:

./openshift-install destroy cluster --dir=<installation_directory> --log-level=debug
  • For installation_directory, specify the path to the directory that you stored the installation files in.
    • The installation program requires the metadata.json file in this directory to delete the cluster. If you no longer have your metadata.json file, use the following instructions: KCS 3826921

2 Comments

Here folks, can we make this a button in the cloud.redhat.com UI.. this is nonsense.

This doesn't apply to a cluster made with the iso image generated at cloud.redhat.com