Procedure
To install by using the OpenShift CLI, complete the
following steps:
- From your local computer, create a YAML file called
catalog_source.yaml with the following content:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: ibm-operator-catalog
namespace: openshift-marketplace
spec:
displayName: IBM Operator Catalog
publisher: IBM
sourceType: grpc
image: icr.io/cpopen/ibm-operator-catalog
updateStrategy:
registryPoll:
interval: 45m
- From the command line, log in to your OpenShift cluster
by using the oc login command.
- Run the following command:
oc apply -f catalog_source.yaml -n openshift-marketplace
- Verify the installation by running this command:
oc get CatalogSources ibm-operator-catalog -n openshift-marketplace
- If the installation was successful, you should see output that is similar to
this:
NAME DISPLAY TYPE PUBLISHER AGE
ibm-operator-catalog IBM Operator Catalog grpc IBM 50s
- If the installation failed, the following message is displayed:
Error from server
(NotFound): catalogsources.operators.coreos.com "ibm-operator-catalog" not found
To
help resolve this error, run the following command to check the pods and CatalogSource resources in
the openshift-marketplace
namespace:
oc get catalogsource,pods -n openshift-marketplace
The output should provide information about your CatalogSource resources and status of the
pods; for example:
NAME DISPLAY TYPE PUBLISHER AGE
catalogsource.operators.coreos.com/certified-operators Certified Operators grpc Red Hat 20d
catalogsource.operators.coreos.com/community-operators Community Operators grpc Red Hat 20d
catalogsource.operators.coreos.com/ibm-operator-catalog IBM Operator Catalog grpc IBM 48s
catalogsource.operators.coreos.com/opencloud-operators IBMCS Operators grpc IBM 48s
catalogsource.operators.coreos.com/redhat-marketplace Red Hat Marketplace grpc Red Hat 20d
catalogsource.operators.coreos.com/redhat-operators Red Hat Operators grpc Red Hat 20d
NAME READY STATUS RESTARTS AGE
pod/certified-operators-575f586fd8-m2ldh 1/1 Running 0 41m
pod/community-operators-57fd7676ff-sqzgs 1/1 Running 0 15h
pod/ibm-operator-catalog-85b2w 1/1 Running 0 48s
pod/marketplace-operator-5fcf68c65c-l8tcg 1/1 Running 0 5d8h
pod/opencloud-operators-wbb9k 1/1 Running 0 48s
pod/redhat-marketplace-665c9c6db4-hhfkd 1/1 Running 0 41m
pod/redhat-operators-8678ddbc5-6szpp 1/1 Running 0 4d1h
What to do next
You can now install the IBM App Connect Operator as described in
Installing the IBM App Connect Operator.