Upgrading OpenShift Container Platform

Upgrade OpenShift in IBM Fusion HCI. 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

Important: If you are upgrading to OpenShift Container Platform 4.21 for the Fusion Data Foundation service and you selected Enable automatic updates during installation, disable automatic upgrades if the Global Data Platform remote mount service is installed or configured. Before you proceed with the upgrade, review the supported migration scenarios.
Important: Check the compatibility of your underlying storage before you proceed with the OpenShift Container Platform upgrade. For more information about the version support, see Support matrix.

About this task

In the following procedure, version 4.18 is used as an example. Replace it with your version of OpenShift Container Platform.

Procedure

  1. Run the following command to change the channel to stable 4.18 or higher.
    oc patch clusterversion version --type merge -p '{"spec": {"channel": "stable-4.18"}}'
  2. Upgrade OpenShift Container Platform to 4.18.18.
    Important: When you upgrade OpenShift Container Platform from version 4.20 to 4.21, run the following command to acknowledge that the Sigstore signatures are mirrored and your cluster is ready update:
    oc -n openshift-config patch configmap admin-acks --patch '{"data":{"ack-4.20-sigstore-in-4.21":"true"}}' --type=merge
  3. Wait for upgrade to complete.
  4. Verify whether all services and OpenShift Container Platform are healthy.
    IBM Fusion HCI 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 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