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
-
Prepare the catalog source manifest.
-
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 -
Use the image names from the following table to update
<image_name>in your YAML file.
Edition Image name IBM Engineering AI Hub software cp.icr.io/cpopen/ibm-elmaihub-operator-catalog:latestNote: If you are installing IBM Engineering AI Hub in an air-gapped environment, replace the image name with the local catalog URL. -
From your local computer, create a catalog_source.yaml file with the following content.
-
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:
- Log in to the Red Hat OpenShift console.
- Click the Import YAML icon.
- In the text area, paste the contents of the catalog source manifest prepared in 1.a
- Update the namespace to
openshift-marketplace. - Click Create.
- To configure the catalog source by command line, complete the following steps.
- Log in to the Red Hat OpenShiftContainer Platform. Run the oc cluster-info sub-command to verify that the correct cluster information is displayed.
- Run the following command:
oc apply -f catalog_source.yaml -n <catalog_source_namespace> - 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-cataloggIBM Engineering AI Hub Catalog grpc IBM 50s Note: If the installation fails, see Catalog sources configuration issue for resolution.
- If the installation was successful, the output appears similar to this.
The YAML file is imported, and it might take some time for the catalog to connect and reach a ready state. - To configure the catalog source by using Red Hat OpenShift console, complete the following steps: