When installing IBM Cloud Pak for Integration (CP4I) operators via the CLI, the Operator Lifecycle Manager (OLM) requires an OperatorGroup resource before applying a Subscription.
OperatorGroup defines the scope (namespace) in which the operator will be deployed and managed.
It ensures that the operator has the necessary permissions to install and operate in the specified namespace.
Without an OperatorGroup, the subscription for ibm-cp-integration cannot be applied, and the installation will fail.
Why an OperatorGroup is Required:Steps for CLI Installation:oc create namespace cp4i-namespace
Create the OperatorGroup YAML (e.g., operatorgroup.yaml):
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: cp4i-operatorgroup
namespace: cp4i-namespace
spec:
targetNamespaces:
- cp4i-namespace
Apply it using:
oc apply -f operatorgroup.yaml
B. The ibm-foundational-services operator and subscription
While IBM Foundational Services is required for some Cloud Pak features, its absence does not prevent the creation of an operator subscription.
C. The platform-navigator operator and subscription
Platform Navigator is an optional component and is not required before installing the ibm-cp-integration subscription.
D. The ibm-common-services namespace
The IBM Common Services namespace is used for foundational services, but it is not required for defining an operator subscription in a new namespace.
Why Other Options Are Incorrect:IBM Cloud Pak for Integration (CP4I) v2021.2 Administration References:
IBM Cloud Pak for Integration Operator Installation Guide
Red Hat OpenShift - Operator Lifecycle Manager (OLM) Documentation
IBM Common Services and Foundational Services Overview