Creating the catalog source by using Red Hat OpenShift

Configuring the IBM® Engineering AI Hub operator catalog source by using Red Hat® OpenShift® console includes setting up the catalog source and verifying its installation.

Procedure

  1. Prepare the catalog source manifest.
    1. From your local computer, create a catalog_source.yaml file with the following content.
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: ibm-elmaihub-operator-catalog
        namespace: openshift-marketplace
      spec:
        displayName: IBM Engineering AI Hub Catalog
        # For the image name, see the following catalog source image names table and use the appropriate value.
        image: '<image_name>' 
        publisher: IBM
        sourceType: grpc 
        updateStrategy:
          registryPoll:
            interval: 10m
    2. Use the image names from the following table to update <image_name> in your YAML file.
    EditionImage name
    IBM Engineering AI Hub software
    cp.icr.io/cpopen/ibm-elmaihub-operator-catalog:latest
    Note: If you are installing IBM Engineering AI Hub in an air-gapped environment, replace the image name with the local catalog URL.
  2. Configure the catalog source manifest by Red Hat OpenShift console or command line.
    • To configure the catalog source by using Red Hat OpenShift console, complete the following steps:
      1. Log in to the Red Hat OpenShift console.
      2. Click the Import YAML icon.
      3. In the text area, paste the contents of the catalog source manifest prepared in 1.a
      4. Update the namespace to openshift-marketplace.
      5. Click Create.
    • To configure the catalog source by command line, complete the following steps.
      1. Log in to the Red Hat OpenShiftContainer Platform. Run the oc cluster-info sub-command to verify that the correct cluster information is displayed.
      2. Run the following command:
        oc apply -f catalog_source.yaml -n <catalog_source_namespace>
      3. Verify the installation by running this command:
        oc get CatalogSources ibm-elmaihub-operator-catalog -n <catalog_source_namespace>
        • If the installation was successful, the output appears similar to this.
          Name Display Type Publisher Age
          ibm-elmaihub-operator-catalogg IBM Engineering AI Hub Catalog grpc IBM 50s
          Note: If the installation fails, see Catalog sources configuration issue for resolution.
    The YAML file is imported, and it might take some time for the catalog to connect and reach a ready state.

What to do next

You can start installing the operator on either Red Hat OpenShift cluster or on Kubernetes Service. For more information, see Installing Engineering AI Hub.