Uninstalling License Service Reporter
You can uninstall the License Service Reporter with one of the following methods:
- Uninstalling License Service Reporter with the console
- Uninstalling License Service Reporter with the CLI
Uninstalling License Service Reporter with the console
Complete the following steps to uninstall the License Service Reporter 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 Reporter 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 Reporter with the CLI
Complete the following steps to uninstall the License Service Reporter with the CLI:
-
Log in to the OpenShift cluster using
oc login
command, and switch to the namespace where you deployed the License Service Reporter.oc login --token=<token> --server=<server-url> oc project <enter the namespace of the License Service Reporter>
-
Create an environment variable with the namespace where you deployed the License Service Reporter.
ibmLicenseServiceReporterNamespace=<enter the namespace of the License Service Reporter>
-
Delete the
IBMLicenseServiceReporter
instance,csv
, andsubscription
of the License Service Reporter.oc delete ibmlicenseservicereporter instance
oc delete csv ibm-license-service-reporter-operator.v4.2.2 -n ${ibmLicenseServiceReporterNamespace}
oc delete subscription ibm-license-service-reporter-operator -n ${ibmLicenseServiceReporterNamespace}