$ oc get knativeserving.operator.knative.dev knative-serving -n knative-serving -o=jsonpath='{.status.conditions[?(@.type=="Ready")].status}'
If you have previously installed a Technology Preview 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. |
When upgrading from older versions of OpenShift Serverless to 1.7.0, support for HTTPS requires a change to the format of routes. Knative services created on OpenShift Serverless 1.6.0 or older versions are no longer reachable at the old format URLs. You must retrieve the new URL for each service after upgrading OpenShift Serverless.
For more information on retrieving Knative services URLs, see Verifying your serverless application deployment.
To upgrade to the latest version of OpenShift Serverless on OpenShift Container Platform 4.3, you must update the channel to 4.3
.
If you are upgrading from OpenShift Serverless version 1.5.0, or earlier, to version 1.7.0, you must complete the following steps:
upgrade to OpenShift Serverless version 1.5.0, by selecting the techpreview
channel.
After you have upgraded to 1.5.0, upgrade to 1.6.0 by selecting the preview-4.3
channel.
Finally, after you have upgraded to 1.6.0, upgrade to the latest version by selecting the 4.3
channel.
After each channel change, wait for the pods in the |
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.
Select the openshift-operators
namespace in the OpenShift Container Platform web console.
Navigate to the Operators → Installed Operators page.
Select the OpenShift Serverless Operator Operator.
Click Subscription → Channel.
In the Change Subscription Update Channel window, select 4.3
, and then click Save.
Wait until all pods have been upgraded in the knative-serving
namespace and the KnativeServing custom resource reports the latest Knative Serving version.
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.
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
.
Check the version of the KnativeServing CR:
$ oc get knativeserving.operator.knative.dev knative-serving -n knative-serving -o=jsonpath='{.status.version}'
This command should return the latest version of Knative Serving. You can check the latest version in the OpenShift Serverless Operator release notes.