-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Added upgrade procedure for Serverless Operator #20556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
serverless/installing_serverless/upgrading-serverless.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| include::modules/serverless-document-attributes.adoc[] | ||
| [id="upgrading-serverless"] | ||
| = Upgrading {ServerlessProductName} | ||
| include::modules/common-attributes.adoc[] | ||
| :context: upgrading-serverless | ||
|
|
||
| toc::[] | ||
|
|
||
| If you have previously installed a Technology Preview version of {ServerlessProductName}, follow the instructions in this guide to upgrade to the latest version. | ||
|
|
||
| In {ServerlessProductName} versions 1.5.0 and older, the only available Subscription Update Channel was `techpreview`. | ||
| To upgrade to the latest version, you must update the channel to `preview-4.3`. | ||
|
|
||
| .Prerequisites | ||
| * You have installed a Technology Preview version of {ServerlessOperatorName}, 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. | ||
| For details, see the {product-title} documentation on xref:../../operators/olm-adding-operators-to-cluster.adoc#olm-adding-operators-to-a-cluster[adding Operators to a cluster]. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Select the `openshift-operators` namespace in the {product-title} web console. | ||
| . Navigate in the web console to the *Operators* → *Installed Operators* page. | ||
| . Select the *{ServerlessOperatorName} Operator*. | ||
| . Click *Subscription* → *Channel*. | ||
| . In the *Change Subscription Update Channel* window, select `preview-4.3`, and 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. | ||
|
|
||
| .Verifying the upgrade | ||
|
|
||
| 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 by entering the command: | ||
| + | ||
| ``` | ||
| oc get knativeserving.operator.knative.dev knative-serving -n knative-serving '-o=jsonpath={.status.conditions[?(@.type=="Ready")].status} | ||
| ``` | ||
| + | ||
| It should return a status of `True`. | ||
| . Check the version of the `KnativeServing` CR by entering the following command: | ||
| + | ||
| ``` | ||
| oc get knativeserving.operator.knative.dev knative-serving -n knative-serving '-o=jsonpath={.status.version} | ||
| ``` | ||
| + | ||
| It should return the latest version of Knative Serving. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.