Updating OLM objects for a specialized installation (Upgrading from Version 4.6.x to a later 4.6 refresh)
A cluster administrator, or a user with the appropriate permissions to install operators, must update 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 update 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. For details, see Sourcing the environment variables.
IBM Cloud Pak foundational services can be installed exactly once on your cluster. Before you update the OLM objects on the cluster, confirm which project IBM Cloud Pak foundational services is installed in. This will prevent you from trying to install a second instance of IBM Cloud Pak foundational services in the wrong project.
About this task
Use the cpd-cli
manage
apply-olm
command to update the IBM
Cloud Pak foundational services operators and the Cloud Pak for Data operators.
The instructions assume that you are updating 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
The operators are updated when the apply-olm
command returns [SUCCESS]... The apply-olm command ran successfully.
cpd-cli
manage
get-olm-artifacts
command to get the list of catalog
sources and operator subscriptions that are on the cluster.- To see the catalog sources and operator subscriptions for the operators in the
${PROJECT_CPFS_OPS}
project, run:cpd-cli manage get-olm-artifacts \ --subscription_ns=${PROJECT_CPFS_OPS}
- To see the catalog sources and operator subscriptions for the operators in the
${PROJECT_CPD_OPS}
project, run:cpd-cli manage get-olm-artifacts \ --subscription_ns=${PROJECT_CPD_OPS}