Skip to content

Commit

Permalink
Merge pull request rook#8437 from travisn/upgrade-old-instructions
Browse files Browse the repository at this point in the history
docs: Upgrade guide cleanup of previous release upgrade issues
  • Loading branch information
BlaineEXE committed Jul 30, 2021
2 parents 3006335 + 8a48374 commit e5a261f
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions Documentation/ceph-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@ if applicable.

Let's get started!

> **IMPORTANT** If your CephCluster has specified `driveGroups` in the spec, you must follow the
> instructions to [migrate the Drive Group spec](#migrate-the-drive-group-spec) before performing
> any of the upgrade steps below.
### **1. Update common resources and CRDs**

> Automatically updated if you are upgrading via the helm chart
Expand Down Expand Up @@ -302,21 +298,11 @@ Then apply the latest changes.
kubectl apply -f common.yaml -f crds.yaml
```

> **NOTE:** If your Rook-Ceph cluster was initially installed with rook v1.4 or lower, the above
> command will return errors due to updates from Kubernetes' v1beta1 Custom Resource Definitions.
> The error will contain text similar to `... spec.preserveUnknownFields: Invalid value...`.
If you experience this error applying the latest changes to CRDs, use `kubectl`'s `replace` command
to replace the resources followed by `apply` to verify that the resources are updated without other
errors.
```sh
kubectl replace -f crds.yaml
kubectl apply -f crds.yaml
```

#### **Updates for optional resources**

If you have [Prometheus monitoring](ceph-monitoring.md) enabled, follow the
step to upgrade the Prometheus RBAC resources as well.

```sh
kubectl apply -f cluster/examples/kubernetes/ceph/monitoring/rbac.yaml
```
Expand Down Expand Up @@ -411,7 +397,7 @@ until all the daemons have been updated.

### **Ceph images**

Official Ceph container images can be found on [Docker Hub](https://hub.docker.com/r/ceph/ceph/tags/).
Official Ceph container images can be found on [Quay](https://quay.io/repository/ceph/ceph?tab=tags).
These images are tagged in a few ways:

* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v16.2.5-20210708`).
Expand Down

0 comments on commit e5a261f

Please sign in to comment.