IBM Cloud Docs
Setting up the Red Hat Marketplace

Setting up the Red Hat Marketplace

Virtual Private Cloud Classic infrastructure Satellite

With Red Hat® Marketplace, you can deploy certified Red Hat software from an operator-based catalog to your OpenShift Container Platform clusters, including Red Hat® OpenShift® on IBM Cloud®.

Required permissions:

  • The IAM Operator platform access role for the cluster in Kubernetes Service.
  • The IAM Manager service access role in all namespaces (cluster-admin RBAC) for the cluster in Kubernetes Service.

Before you begin:

  • Register for a Red Hat Marketplace account.
  • Access your Red Hat OpenShift cluster.
  • Make sure that the Operator Lifecycle Manager (OLM) pods in the openshift-operator-lifecycle-manager project and marketplace pods in the openshift-marketplace project are ready and running. You might have to restart a pod to return the pod to a healthy state.
    oc get pods -n openshift-operator-lifecycle-manager
    
    oc get pods -n openshift-marketplace
    

To set up your cluster with Red Hat Marketplace:

  1. Follow the Red Hat Marketplace instructions to create a namespace, operator, and global pull secret for the Red Hat Marketplace.

  2. Verify that the global pull secret for the cluster is updated with the registry.marketplace.redhat.com secret.

    oc get secret pull-secret -n openshift-config --output="jsonpath={.data.\.dockerconfigjson}" | base64 --decode | grep "marketplace" -A4
    
  3. To pick up the global configuration changes, reload all the worker nodes in your cluster.

    1. Note the ID of the worker nodes in your cluster.

      ibmcloud oc worker ls -c <cluster_name_or_ID>
      
    2. Reload each classic worker node, or replace each VPC worker node. You can reload or replace multiple worker nodes by including multiple -w options, but make sure to leave enough worker nodes running at the same time for your apps to avoid an outage because they are reloaded concurrently.

      Classic: Reload worker nodes.

      ibmcloud oc worker reload -c <cluster_name_or_ID> -w <workerID_1> -w <workerID_2>
      

      VPC: Replace worker nodes.

      ibmcloud oc worker replace -c <cluster_name_or_ID> -w <workerID_1> -w <workerID_2>
      
  4. After your worker nodes are reloaded, verify that your cluster is listed in your Red Hat Marketplace workspace.

Now, you can install and manage software from Red Hat Marketplace in your cluster. For more information, see the Red Hat Marketplace documentation.