Uninstallation is not successful (uninstallation does not remove all components)
After you uninstall IBM Cloud Pak foundational services from your cluster, some foundational services components remain in the cluster.
Important: You cannot use the following procedure in a cluster that has multiple instances of foundational services installed.
To remove all foundational services components, run the following script.
Log in to OpenShift cluster as an admin user by running the
Download the script to remove the components.
You can use the
./force-uninstall.sh -hcommand to view the options available when you run the script.
Run the script to remove the components:
If you installed foundational services in the
ibm-common-servicesnamespace, run the following command:
If you installed foundational services in a custom namespace, run the following command:
./force-uninstall.sh -n <custom-namespace>
Review the number of oauthClients in the cluster using the following command:
oc get oauthClients -A | wc -l
If you notice excess phantom oauthClients, see OIDC Client Watcher shows CrashLoopBackOff status to clean up the excess clients.