28.6. Reinstalling the OpenShift Container Platform cluster
If you are unable to debug and resolve issues in the failed OpenShift Container Platform installation, consider installing a new OpenShift Container Platform cluster. Before starting the installation process again, you must complete thorough cleanup. For a user-provisioned infrastructure (UPI) installation, you must manually destroy the cluster and delete all associated resources. The following procedure is for an installer-provisioned infrastructure (IPI) installation.
Procédure
Destroy the cluster and remove all the resources associated with the cluster, including the hidden installer state files in the installation directory:
./openshift-install destroy cluster --dir <installation_directory>
$ ./openshift-install destroy cluster --dir <installation_directory>
1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
installation_directory
is the directory you specified when you ran./openshift-install create cluster
. This directory contains the OpenShift Container Platform definition files that the installation program creates.
Before reinstalling the cluster, delete the installation directory:
rm -rf <installation_directory>
$ rm -rf <installation_directory>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Follow the procedure for installing a new OpenShift Container Platform cluster.