Operator reference
Operators extend a Kubernetes cluster by adding and managing additional resource types in the Kubernetes API. These resource types enable the installation and management of instances by using standard Kubernetes tools.
Every instance type in IBM Cloud Pak® for Integration (for example, the Platform UI or Queue manager), is provided by an operator that you must install before you can deploy that instance. After installation, the operator automates the management of an instance, doing the kind of tasks that an engineering team normally handles. For example, the operator can automatically manage upgrades and availability.
Operators in OpenShift
Operators are provided through a catalog source. You add catalog sources to make the Cloud Pak for Integration operators available to the OpenShift cluster. In OpenShift, operators are installed and managed by the OpenShift Operator Lifecycle Manager (OLM).
For more information about operators in OpenShift, see What are operators? in the Red Hat OpenShift documentation.
For instructions on installing Cloud Pak for Integration operators, see Installing the operators.
How operators work with Kubernetes resources
Operators create instances by reconciling Kubernetes resources. Operators reconcile a resource when it changes in any way, and they perform reconciliations to check the health of the instance. If there are any changes to the resource, the instance is updated. During the reconciliation, the operator creates a set of resources, such as pods, secrets, and routes. All these resources make up the instance.
When the spec.version field for an instance is changed, the operator upgrades the instance.
Dependencies
Some Cloud Pak for Integration instances can be deployed by an operator only if other operators are also installed.
Instances that are configured to use identity and access management, such as the Platform UI, require the IBM Cloud Pak foundational services operator when running on OpenShift.
API Connect cluster instances require the IBM DataPower Gateway operator, if you are using an API Gateway.
API Connect cluster instances require the IBM Cloud Pak foundational services operator to install EDB Postgres for Kubernetes, if you are using an API Manager.
Assembly instances require the operators that reconcile the instance types that are defined in a given assembly.
Increasing resources for an operator
If the default resources do not meet your needs, complete the following steps to increase the resources that are available to the operator.
Log in to the OpenShift web console as an administrator.
In the navigation panel, click Operators > Installed Operators.
Click the name of the operator.
Click the Subscription tab.
Click the Actions drop-down at the top right and select Edit Subscription to open the YAML file.
In the
specsection, add aconfig.resourcessection as in the example below. Enter values that meet the CPU and memory needs of your cluster.kind: Subscription metadata: ... spec: ... config: resources: limits: cpu: 2000m memory: 2Gi requests: cpu: 1000m memory: 1GiThe operator is now re-deployed and the new resources are reflected in Workloads > Deployments.