Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```