This repository has been archived by the owner on Jun 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the instruction on how to upgrade v0.10 and v0.11 to v0.12 (#265)
* Add the instruction on how to upgrade v0.10 and v0.11 to v0.12 * Remove the section about 0.9 version
- Loading branch information
1 parent
d2f4774
commit 0b4d6f8
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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,28 @@ | ||
# Upgrade Guide | ||
|
||
This document describes how to upgrade the serving-operator to an expected version. | ||
|
||
## Backup precaution | ||
|
||
As an administrator, you are recommended to save the content of the custom resource for serving-operator | ||
before upgrading your operator. Make sure that you know the name and the namespace of your CR, and use the | ||
following command to save the CR in a file called `serving_operator_cr.yaml`: | ||
|
||
For the version v0.10.0 or later: | ||
|
||
``` | ||
kubectl get KnativeServing <cr-name> -n <namespace> -o=yaml > serving_operator_cr.yaml | ||
``` | ||
|
||
Replace `<cr-name>` with the name of your CR, and `<namespace>` with the namespace. | ||
|
||
One version of serving-operator installs only one specific version of Knative Serving. With your | ||
operator successfully upgraded, your Knative Serving is upgraded as well. | ||
|
||
## v0.10.0, v0.11.x -> v0.12.0 | ||
|
||
Both of v0.10 and v0.11 versions are able to upgrade to the version v0.12.0 by running the following command: | ||
|
||
``` | ||
kubectl apply -f https://github.com/knative/serving-operator/releases/download/v0.12.0/serving-operator.yaml | ||
``` |