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 License Service name in the
Installed Operators
page. -
Click Actions > Uninstall Operator.
-
Select the
Delete all operand instances for this operator
option, 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 login
command, and switch to theibm-licensing
project.oc login --token=<token> --server=<server-url> oc project ibm-licensing
Note: The
ibm-licensing
namespace is the default namespace of the License Service. If you installed License Service in a custom namespace in your cluster, replaceibm-licensing
with 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
, andsubscription
of the License Service.oc delete ibmlicensing instance
oc delete csv ibm-licensing-operator.v4.2.1 -n ${ibmlicensingNamespace}
oc delete subscription ibm-licensing-operator-app -n ${ibmlicensingNamespace}