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