Installing License Service Reporter with the OpenShift console
Complete the following tasks to install the latest version of License Service Reporter:
- Creating the CatalogSource for License Service Reporter
- Creating a namespace for License Service Reporter
- Installing the License Service Reporter operators from OperatorHub
- Creating a License Service Reporter instance
Creating the CatalogSource for License Service Reporter
Create the CatalogSource that you need for License Service Reporter installation.
- Log in to OpenShift cluster console.
- Click the plus icon. You see the Import YAML dialog box.
-
Paste the following catalog source definition to create the CatalogSource:
apiVersion: operators.coreos.com/v1alpha1 kind: CatalogSource metadata: name: ibm-license-service-reporter-bundle-catalog namespace: openshift-marketplace spec: displayName: IBM License Service Reporter Catalog publisher: IBM sourceType: grpc image: icr.io/cpopen/ibm-license-service-reporter-operator-catalog updateStrategy: registryPoll: interval: 45m
-
Click Create. The CatalogSource is created.
- Verify that the source container is ready. The catalog source pod must have the
Running
status.- On the cluster console, see Project: openshift-marketplace > Workloads > Pods.
Creating a namespace for License Service Reporter
To create the namespace for License Service Reporter, see Creating a namespace for foundational services.
Installing the License Service Reporter operators from OperatorHub
Complete the following steps to install the License Service Reporter operators from OperatorHub:
-
Go to Red Hat® OpenShift® cluster console > Project: All Projects > Operators > OperatorHub page.
-
In the All Items field, enter
IBM License Service Reporter
. The IBM License Service Reporter operator is displayed. -
Click the IBM License Service Reporter tile. The IBM License Service Reporter window is displayed.
-
Click Install. You see the Install Operator page.
-
Set the Update Channel to the
v4.2
version. -
Set Installation Mode to
A specific namespace on the cluster
. -
Set Update approval to
Automatic
. -
Click Install.
Creating a License Service Reporter instance
Complete the following steps to create the License Service Reporter instance with the OpenShift console:
-
Log in to your OpenShift cluster console.
-
Go to Operators > Installed Operators.
-
Set the project to All Projects.
-
Find and select the IBM License Service Reporter.
-
On the IBM License Service Reporter tile, click Create IBMLicenseServiceReporter.
-
Review the contents of the editor. Make sure that the definition contains the following information. If not, paste the following content into the editor, and click Create.
apiVersion: operator.ibm.com/v1alpha1 kind: IBMLicenseServiceReporter metadata: name: ibm-lsr-instance namespace: ${LSR_NAMESPACE} labels: app.kubernetes.io/created-by: ibm-license-service-reporter-operator app.kubernetes.io/instance: ibmlicenseservicereporter-instance app.kubernetes.io/name: ibmlicenseservicereporter app.kubernetes.io/part-of: ibm-license-service-reporter-operator spec: license: accept: true authentication: useradmin: enabled: true
Note: License Service Reporter uses the default storage class. To use a different storage class, add and define the 'storageClass' parameter in the
spec
section. For example:spec: storageClass: storage-class-internal
-
To apply the changes, click Save.