Uninstalling License Service
You can uninstall the License Service with one of the following methods:
Uninstalling License Service with the console
Complete the following steps to uninstall the License Service with the Red Hat OpenShift cluster console:
-
Log in to your Red Hat OpenShift cluster console.
-
Click Operators > Installed Operators.
-
Set Project to All projects.
-
Select the IBM Licensing name in the
Installed Operatorspage. -
Click Actions > Uninstall Operator.
-
Select the
Delete all operand instances for this operatoroption, and click Uninstall.
Uninstalling License Service with the CLI
Complete the following steps to uninstall the License Service with the CLI:
-
Log in to the OpenShift cluster using
oc logincommand, and switch to theibm-licensingproject.oc login --token=<token> --server=<server-url> oc project ibm-licensingNote: The
ibm-licensingnamespace is the default namespace of the License Service. If you installed License Service in a custom namespace in your cluster, replaceibm-licensingwith your custom namespace in the command. -
Create an environment variable with the namespace of the License Service.
ibmlicensingNamespace=ibm-licensing -
Delete the
IBMLicensing instance,csv, andsubscriptionof the License Service.oc delete ibmlicensing instanceoc delete csv ibm-licensing-operator.v4.2.2 -n ${ibmlicensingNamespace}oc delete subscription ibm-licensing-operator-app -n ${ibmlicensingNamespace}