Creating OLM objects for an express installation (Upgrading from Version 3.5 to Version 4.6)
A cluster administrator, or a user with the appropriate permissions to install operators, must create the Operator Lifecycle Manager (OLM) objects, such as operators and operator subscriptions, that are required to upgrade the IBM Cloud Pak® for Data platform and services. The OLM objects that you create depend on the services that you use.
- Upgrade phase
- Setting up a client workstation
- Who needs to complete this task?
- A user with the appropriate permissions to install operators must complete this task.
- When do you need to complete this task?
- You must complete this task before you upgrade the Cloud Pak for Data software to Version 4.6.
Before you begin
Ensure that you source the environment variables before you run the commands in this task.
IBM
Cloud Pak foundational services can be installed
exactly once on your cluster. Before you create the OLM objects on the cluster, confirm
whether IBM
Cloud Pak foundational services is installed
on the cluster. If IBM
Cloud Pak foundational services is
installed, confirm that it is installed in the ibm-common-services
project. If IBM
Cloud Pak foundational services is
installed in a different project, follow the guidance in Creating OLM objects for a specialized installation (Upgrading from Version 3.5 to Version 4.6).
About this task
Use the cpd-cli
manage
apply-olm
command to create the IBM
Cloud Pak foundational services operators and the Cloud Pak for Data operators in the ibm-common-services
project.
The instructions assume that you are installing the operators for all of the components at the same time, which enables you to complete the task in fewer steps. You can always install additional operators if you decide to install additional services on your environment.
Procedure
Results
ibm-common-services
project. cpd-cli
manage
get-olm-artifacts
command to get the list of catalog
sources and operator subscriptions that are on the
cluster.cpd-cli manage get-olm-artifacts \
--subscription_ns=${PROJECT_CPFS_OPS}