Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
Add the instruction on how to upgrade v0.10 and v0.11 to v0.12 (#265)
Browse files Browse the repository at this point in the history
* 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
Vincent authored and knative-prow-robot committed Jan 23, 2020
1 parent d2f4774 commit 0b4d6f8
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,7 @@ spec:
channel: alpha
EOF
```

## Upgrade

Please refer to the [upgrade guide](doc/upgrade_guide.md) for a safe upgrade process.
28 changes: 28 additions & 0 deletions doc/upgrade_guide.md
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
```

0 comments on commit 0b4d6f8

Please sign in to comment.