×

If you have installed a previous version of OpenShift Serverless, follow the instructions in this guide to upgrade to the latest version.

Before upgrading to the latest Serverless release, you must remove the community Knative Eventing operator if you have previously installed it. Having the Knative Eventing operator installed will prevent you from being able to install the latest Technology Preview version of Knative Eventing.

Upgrading the Subscription Channel

Prerequisites
  • You have installed a previous version of OpenShift Serverless Operator, and have selected Automatic updates during the installation process.

    If you have selected Manual updates, you will need to complete additional steps after updating the channel as described in this guide. The Subscription’s upgrade status will remain Upgrading until you review and approve its Install Plan. Information about the Install Plan can be found in the OpenShift Container Platform Operators documentation.

  • You have logged in to the OpenShift Container Platform web console.

Procedure
  1. Select the openshift-operators namespace in the OpenShift Container Platform web console.

  2. Navigate to the OperatorsInstalled Operators page.

  3. Select the OpenShift Serverless Operator Operator.

  4. Click SubscriptionChannel.

  5. In the Change Subscription Update Channel window, select 4.5, and then click Save.

  6. Wait until all pods have been upgraded in the knative-serving namespace and the KnativeServing custom resource (CR) reports the latest Knative Serving version.

Verification

To verify that the upgrade has been successful, you can check the status of pods in the knative-serving namespace, and the version of the KnativeServing CR.

  1. Check the status of the pods:

    $ oc get knativeserving.operator.knative.dev knative-serving -n knative-serving -o=jsonpath='{.status.conditions[?(@.type=="Ready")].status}'

    The previous command should return a status of True.

  2. Check the version of the KnativeServing CR:

    $ oc get knativeserving.operator.knative.dev knative-serving -n knative-serving -o=jsonpath='{.status.version}'

    The previous command should return the latest version of Knative Serving. You can check the latest version in the OpenShift Serverless Operator release notes.