Updating OLM objects for an express 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 from Version 4.6.x to a later 4.6 refresh.
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.
Ensure that IBM
Cloud Pak foundational services is
installed in the ibm-common-services
project. If IBM
Cloud Pak foundational services is installed in a different
project, follow the guidance in Updating OLM objects for a specialized
installation
instead.
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 in the ibm-common-services
project.
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.cpd-cli manage get-olm-artifacts \
--subscription_ns=${PROJECT_CPFS_OPS}