Installing License Service Reporter with the OpenShift console

Complete the following tasks to install the latest version of License Service Reporter:

  1. Creating the CatalogSource for License Service Reporter
  2. Creating a namespace for License Service Reporter
  3. Installing the License Service Reporter operators from OperatorHub
  4. Creating a License Service Reporter instance

Creating the CatalogSource for License Service Reporter

Create the CatalogSource that you need for License Service Reporter installation.

  1. Log in to OpenShift cluster console.
  2. Click the plus icon. You see the Import YAML dialog box.
  3. 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
    
  4. Click Create. The CatalogSource is created.

  5. 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:

  1. Go to Red Hat® OpenShift® cluster console > Project: All Projects > Operators > OperatorHub page.

  2. In the All Items field, enter IBM License Service Reporter. The IBM License Service Reporter operator is displayed.

  3. Click the IBM License Service Reporter tile. The IBM License Service Reporter window is displayed.

  4. Click Install. You see the Install Operator page.

  5. Set the Update Channel to the v4.2 version.

  6. Set Installation Mode to A specific namespace on the cluster.

  7. Set Update approval to Automatic.

  8. Click Install.

Creating a License Service Reporter instance

Complete the following steps to create the License Service Reporter instance with the OpenShift console:

  1. Log in to your OpenShift cluster console.

  2. Go to Operators > Installed Operators.

  3. Set the project to All Projects.

  4. Find and select the IBM License Service Reporter.

  5. On the IBM License Service Reporter tile, click Create IBMLicenseServiceReporter.

    The image shows the IBM License Service Reporter view in the cluster console.

  6. 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
    
  7. To apply the changes, click Save.