ceph: update examples and operator to Ceph v15.2.8

The latest octopus release is now out with v15.2.8. We update the
operator base image and the examples to run with this version.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen
2020-12-17 18:21:15 -07:00
parent d38119631b
commit 3beb625f08
10 changed files with 22 additions and 22 deletions
+10 -10
View File
@@ -32,7 +32,7 @@ metadata:
spec:
cephVersion:
# see the "Cluster Settings" section below for more details on which image of ceph to run
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -59,7 +59,7 @@ metadata:
spec:
cephVersion:
# see the "Cluster Settings" section below for more details on which image of ceph to run
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -168,7 +168,7 @@ Settings can be specified at the global level to apply to the cluster as a whole
* `external`:
* `enable`: if `true`, the cluster will not be managed by Rook but via an external entity. This mode is intended to connect to an existing cluster. In this case, Rook will only consume the external cluster. However, Rook will be able to deploy various daemons in Kubernetes such as object gateways, mds and nfs if an image is provided and will refuse otherwise. If this setting is enabled **all** the other options will be ignored except `cephVersion.image` and `dataDirHostPath`. See [external cluster configuration](#external-cluster). If `cephVersion.image` is left blank, Rook will refuse the creation of extra CRs like object, file and nfs.
* `cephVersion`: The version information for launching the ceph daemons.
* `image`: The image used for running the ceph daemons. For example, `ceph/ceph:v14.2.12` or `ceph/ceph:v15.2.7`. For more details read the [container images section](#ceph-container-images).
* `image`: The image used for running the ceph daemons. For example, `ceph/ceph:v14.2.12` or `ceph/ceph:v15.2.8`. For more details read the [container images section](#ceph-container-images).
For the latest ceph images, see the [Ceph DockerHub](https://hub.docker.com/r/ceph/ceph/tags/).
To ensure a consistent version of the image is running across all nodes in the cluster, it is recommended to use a very specific image version.
Tags also exist that would give the latest version, but they are only recommended for test environments. For example, the tag `v14` will be updated each time a new nautilus build is released.
@@ -662,7 +662,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -694,7 +694,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -735,7 +735,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -782,7 +782,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -885,7 +885,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
@@ -931,7 +931,7 @@ spec:
requests:
storage: 10Gi
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
allowUnsupported: false
dashboard:
enabled: true
@@ -1344,7 +1344,7 @@ spec:
enable: true
dataDirHostPath: /var/lib/rook
cephVersion:
image: ceph/ceph:v15.2.7 # Should match external cluster version
image: ceph/ceph:v15.2.8 # Should match external cluster version
```
### Cleanup policy
+2 -2
View File
@@ -379,7 +379,7 @@ until all the daemons have been updated.
Official Ceph container images can be found on [Docker Hub](https://hub.docker.com/r/ceph/ceph/tags/).
These images are tagged in a few ways:
* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v15.2.7-20201201`).
* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v15.2.8-20201201`).
These tags are recommended for production clusters, as there is no possibility for the cluster to
be heterogeneous with respect to the version of Ceph running in containers.
* Ceph major version tags (e.g., `v15`) are useful for development and test clusters so that the
@@ -395,7 +395,7 @@ The majority of the upgrade will be handled by the Rook operator. Begin the upgr
Ceph image field in the cluster CRD (`spec.cephVersion.image`).
```sh
NEW_CEPH_IMAGE='ceph/ceph:v15.2.7-20201201'
NEW_CEPH_IMAGE='ceph/ceph:v15.2.8-20201201'
CLUSTER_NAME="$ROOK_CLUSTER_NAMESPACE" # change if your cluster name is not the Rook namespace
kubectl -n $ROOK_CLUSTER_NAMESPACE patch CephCluster $CLUSTER_NAME --type=merge -p "{\"spec\": {\"cephVersion\": {\"image\": \"$NEW_CEPH_IMAGE\"}}}"
```
@@ -19,4 +19,4 @@ spec:
dataDirHostPath: /var/lib/rook
# providing an image is required, if you want to create other CRs (rgw, mds, nfs)
cephVersion:
image: ceph/ceph:v15.2.7 # Should match external cluster version
image: ceph/ceph:v15.2.8 # Should match external cluster version
@@ -33,7 +33,7 @@ spec:
requests:
storage: 10Gi
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
allowUnsupported: false
skipUpgradeChecks: false
continueUpgradeAfterChecksEvenIfNotHealthy: false
@@ -15,7 +15,7 @@ metadata:
namespace: rook-ceph # namespace:cluster
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
allowUnsupported: false
skipUpgradeChecks: false
dataDirHostPath: /var/lib/rook
@@ -19,9 +19,9 @@ spec:
# v13 is mimic, v14 is nautilus, and v15 is octopus.
# RECOMMENDATION: In production, use a specific version tag instead of the general v14 flag, which pulls the latest release and could result in different
# versions running within the cluster. See tags available at https://hub.docker.com/r/ceph/ceph/tags/.
# If you want to be more precise, you can always use a timestamp tag such ceph/ceph:v15.2.7-20201201
# If you want to be more precise, you can always use a timestamp tag such ceph/ceph:v15.2.8-20201217
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
# Whether to allow unsupported versions of Ceph. Currently `nautilus` and `octopus` are supported.
# Future versions such as `pacific` would require this to be set to `true`.
# Do not set to true in production.
@@ -216,7 +216,7 @@ metadata:
},
"spec": {
"cephVersion": {
"image": "ceph/ceph:v15.2.7"
"image": "ceph/ceph:v15.2.8"
},
"dataDirHostPath": "/var/lib/rook",
"mon": {
+1 -1
View File
@@ -34,7 +34,7 @@ metadata:
namespace: rook-ceph
spec:
cephVersion:
image: ceph/ceph:v15.2.7
image: ceph/ceph:v15.2.8
dataDirHostPath: /var/lib/rook
mon:
count: 3
+2 -2
View File
@@ -18,9 +18,9 @@ include ../image.mk
# Image Build Options
ifeq ($(GOARCH),amd64)
CEPH_VERSION = v15.2.7-20201201
CEPH_VERSION = v15.2.8-20201217
else
CEPH_VERSION = v15.2.7-20201201
CEPH_VERSION = v15.2.8-20201217
endif
BASEIMAGE = ceph/ceph-$(GOARCH):$(CEPH_VERSION)
CEPH_IMAGE = $(BUILD_REGISTRY)/ceph-$(GOARCH)
+1 -1
View File
@@ -156,7 +156,7 @@ type KeyManagementServiceSpec struct {
// CephVersionSpec represents the settings for the Ceph version that Rook is orchestrating.
type CephVersionSpec struct {
// Image is the container image used to launch the ceph daemons, such as ceph/ceph:v15.2.7
// Image is the container image used to launch the ceph daemons, such as ceph/ceph:v15.2.8
Image string `json:"image,omitempty"`
// Whether to allow unsupported versions (do not set to true in production)