OpenShift Container Platform upgrade

Upgrade OpenShift in IBM Storage Fusion HCI System. For offline upgrades of OpenShift Container Platform, follow the Red Hat steps. However, follow the guidelines and versions that are specified in this section.

Before you begin

Do not proceed with upgrade unless you go through all the prerequisites and limitations. For more information about the prerequisites, see OpenShift Container Platform upgrade prerequisites.

About this task

In this procedure, version 4.15 is used as an example. Replace it with your version of OpenShift Container Platform. For more information about the upgrade to OpenShift Container Platform 4.14, see OpenShift Container Platform 4.14 upgrade.

Procedure

  1. Run the following command to change the channel to stable 4.15 or higher.
    Important: If you do not see a stable-4.15 option, then use the fast-4.15 channel option
    oc patch clusterversion version --type merge -p '{"spec": {"channel": "stable-4.15"}}'
  2. Upgrade OpenShift Container Platform to 4.15.2 or higher.
  3. Wait for upgrade to complete.
  4. Verify whether all services and OpenShift Container Platform are healthy.
    IBM Storage Fusion HCI System user interface:
    • Go to the Services page and check the health of all services.
    • Go to Infrastructure > Overview and check the health of all nodes and switches.
    OpenShift Container Platform console:
    Go to Operators > Installed operator in IBM Storage Fusion namespace and check that the ISF operator shows in Succeed state.
    OC commands
    • Run the following command to check the ready state of the OpenShift Container Platform nodes:
      oc get nodes
    • Run the following command to check that all operators are available.
      oc get co