Installing from OperatorHub in OpenShift

Learn how to install Cloudera Streams Messaging - Kubernetes Operator from OperatorHub in OpenShift.

Installation from OperatorHub in Openshift involves creating two Secrets in your installation namespace. One containing your Cloudera license, and one containing your Cloudera credentials (username and password). The license is required for Cloudera Streams Messaging - Kubernetes Operator to function properly. The credentials provide access to the Cloudera Docker registry (container.repository.cloudera.com) where installation artifacts are pulled from.

After the Secrets are available in your cluster, you can continue with the standard process of installing operators from OperatorHub.

  • Ensure that you have access to your Cloudera credentials (username and password).
  • Ensure that you have access to a valid Cloudera license.

  • These instructions use oc to create Secrets. However, you can also create both Secrets using the OpenShift web console.
  1. Create a Secret containing your license.
    The name of the Secret is fixed. It must be called csm-op-license.
    oc create secret generic csm-op-license --from-file=license.txt=[***PATH TO LICENSE FILE***]
  2. Create a Secret containing your Cloudera credentials.
    The name of the Secret is fixed. It must be called cloudera-container-repository-credentials.
    oc create secret docker-registry cloudera-container-repository-credentials \
      --docker-username=[***USERNAME***] \
      --docker-password=[***PASSWORD***] \
      --docker-server=container.repository.cloudera.com
  3. Install Cloudera Streams Messaging - Kubernetes Operator from OperatorHub using the web console or the CLI.
    For detailed steps, see Adding Operators to a cluster in the OpenShift documentation.