Merge pull request #12070 from rook/mergify/bp/release-1.10/pr-12068
core: Update default image to Ceph v17.2.6 (backport #12068)
This commit is contained in:
20 files changed
+40
-40
No files matched your search
@@ -26,7 +26,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.md). 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, `quay.io/ceph/ceph:v16.2.9` or `v17.2.5`. For more details read the [container images section](#ceph-container-images).
|
||||
* `image`: The image used for running the ceph daemons. For example, `quay.io/ceph/ceph:v16.2.11` or `v17.2.6`. 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 `v17` will be updated each time a new Quincy build is released.
|
||||
@@ -104,8 +104,8 @@ These are general purpose Ceph container with all necessary daemons and dependen
|
||||
| -------------------- | --------------------------------------------------------- |
|
||||
| vRELNUM | Latest release in this series (e.g., *v17* = Quincy) |
|
||||
| vRELNUM.Y | Latest stable release in this stable series (e.g., v17.2) |
|
||||
| vRELNUM.Y.Z | A specific release (e.g., v17.2.5) |
|
||||
| vRELNUM.Y.Z-YYYYMMDD | A specific build (e.g., v17.2.5-20221017) |
|
||||
| vRELNUM.Y.Z | A specific release (e.g., v17.2.6) |
|
||||
| vRELNUM.Y.Z-YYYYMMDD | A specific build (e.g., v17.2.6-20230410) |
|
||||
|
||||
A specific will contain a specific release of Ceph as well as security fixes from the Operating System.
|
||||
|
||||
@@ -457,7 +457,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
@@ -558,7 +558,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
@@ -687,7 +687,7 @@ kubectl -n rook-ceph get CephCluster -o yaml
|
||||
deviceClasses:
|
||||
- name: hdd
|
||||
version:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
version: 16.2.6-0
|
||||
conditions:
|
||||
- lastHeartbeatTime: "2021-03-02T21:22:11Z"
|
||||
|
||||
@@ -161,7 +161,7 @@ spec:
|
||||
enable: true
|
||||
dataDirHostPath: /var/lib/rook
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5 # Should match external cluster version
|
||||
image: quay.io/ceph/ceph:v17.2.6 # Should match external cluster version
|
||||
```
|
||||
|
||||
## Exporting Rook to another cluster
|
||||
|
||||
@@ -22,7 +22,7 @@ metadata:
|
||||
spec:
|
||||
cephVersion:
|
||||
# see the "Cluster Settings" section below for more details on which image of ceph to run
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
@@ -49,7 +49,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
@@ -101,7 +101,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
|
||||
@@ -18,7 +18,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
@@ -72,7 +72,7 @@ spec:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: false
|
||||
dashboard:
|
||||
enabled: true
|
||||
@@ -129,7 +129,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
|
||||
@@ -35,7 +35,7 @@ spec:
|
||||
- name: c
|
||||
cephVersion:
|
||||
# Stretch cluster is supported in Ceph Pacific or newer.
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: true
|
||||
# Either storageClassDeviceSets or the storage section can be specified for creating OSDs.
|
||||
# This example uses all devices for simplicity.
|
||||
|
||||
@@ -67,7 +67,7 @@ Official Ceph container images can be found on [Quay](https://quay.io/repository
|
||||
|
||||
These images are tagged in a few ways:
|
||||
|
||||
* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v17.2.5-20221017`).
|
||||
* The most explicit form of tags are full-ceph-version-and-build tags (e.g., `v17.2.6-20230410`).
|
||||
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., `v17`) are useful for development and test clusters so that the
|
||||
@@ -84,7 +84,7 @@ in the cluster CRD (`spec.cephVersion.image`).
|
||||
|
||||
```console
|
||||
ROOK_CLUSTER_NAMESPACE=rook-ceph
|
||||
NEW_CEPH_IMAGE='quay.io/ceph/ceph:v17.2.5-20221017'
|
||||
NEW_CEPH_IMAGE='quay.io/ceph/ceph:v17.2.6-20230410'
|
||||
kubectl -n $ROOK_CLUSTER_NAMESPACE patch CephCluster $ROOK_CLUSTER_NAMESPACE --type=merge -p "{\"spec\": {\"cephVersion\": {\"image\": \"$NEW_CEPH_IMAGE\"}}}"
|
||||
```
|
||||
|
||||
@@ -103,9 +103,9 @@ Confirm the upgrade is completed when the versions are all on the desired Ceph v
|
||||
kubectl -n $ROOK_CLUSTER_NAMESPACE get deployment -l rook_cluster=$ROOK_CLUSTER_NAMESPACE -o jsonpath='{range .items[*]}{"ceph-version="}{.metadata.labels.ceph-version}{"\n"}{end}' | sort | uniq
|
||||
This cluster is not yet finished:
|
||||
ceph-version=15.2.13-0
|
||||
ceph-version=v17.2.5-0
|
||||
ceph-version=v17.2.6-0
|
||||
This cluster is finished:
|
||||
ceph-version=v17.2.5-0
|
||||
ceph-version=v17.2.6-0
|
||||
```
|
||||
|
||||
#### **3. Verify cluster health**
|
||||
|
||||
@@ -25,7 +25,7 @@ toolbox:
|
||||
# -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
|
||||
enabled: false
|
||||
# -- Toolbox image, defaults to the image used by the Ceph cluster
|
||||
image: #quay.io/ceph/ceph:v17.2.3
|
||||
image: #quay.io/ceph/ceph:v17.2.6
|
||||
# -- Toolbox tolerations
|
||||
tolerations: []
|
||||
# -- Toolbox affinity
|
||||
@@ -86,7 +86,7 @@ cephClusterSpec:
|
||||
# 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 quay.io/ceph/ceph:v15.2.11-20200419
|
||||
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
# Whether to allow unsupported versions of Ceph. Currently `pacific` and `quincy` are supported.
|
||||
# Future versions such as `reef` (v18) would require this to be set to `true`.
|
||||
# Do not set to true in production.
|
||||
@@ -431,10 +431,10 @@ cephBlockPools:
|
||||
mountOptions: []
|
||||
# see https://kubernetes.io/docs/concepts/storage/storage-classes/#allowed-topologies
|
||||
allowedTopologies: []
|
||||
# - matchLabelExpressions:
|
||||
# - key: rook-ceph-role
|
||||
# values:
|
||||
# - storage-node
|
||||
# - matchLabelExpressions:
|
||||
# - key: rook-ceph-role
|
||||
# values:
|
||||
# - storage-node
|
||||
# see https://github.com/rook/rook/blob/master/Documentation/ceph-block.md#provision-storage for available configuration
|
||||
parameters:
|
||||
# (optional) mapOptions is a comma-separated list of map options.
|
||||
|
||||
@@ -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: quay.io/ceph/ceph:v17.2.5 # Should match external cluster version
|
||||
image: quay.io/ceph/ceph:v17.2.6 # Should match external cluster version
|
||||
@@ -173,7 +173,7 @@ spec:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: false
|
||||
skipUpgradeChecks: false
|
||||
continueUpgradeAfterChecksEvenIfNotHealthy: false
|
||||
|
||||
@@ -33,7 +33,7 @@ spec:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: false
|
||||
skipUpgradeChecks: false
|
||||
continueUpgradeAfterChecksEvenIfNotHealthy: false
|
||||
|
||||
@@ -45,7 +45,7 @@ spec:
|
||||
count: 2
|
||||
cephVersion:
|
||||
# Stretch cluster support upstream is only available starting in Ceph Pacific
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: true
|
||||
skipUpgradeChecks: false
|
||||
continueUpgradeAfterChecksEvenIfNotHealthy: false
|
||||
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
count: 2
|
||||
cephVersion:
|
||||
# Stretch cluster support upstream is only available starting in Ceph Pacific
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
allowUnsupported: true
|
||||
skipUpgradeChecks: false
|
||||
continueUpgradeAfterChecksEvenIfNotHealthy: false
|
||||
|
||||
@@ -19,9 +19,9 @@ spec:
|
||||
# v16 is Pacific, and v17 is Quincy.
|
||||
# RECOMMENDATION: In production, use a specific version tag instead of the general v17 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 quay.io/ceph/ceph:v17.2.3-20220805
|
||||
# If you want to be more precise, you can always use a timestamp tag such quay.io/ceph/ceph:v17.2.6-20230410
|
||||
# This tag might not contain a new Ceph version, just security fixes from the underlying operating system, which will reduce vulnerabilities
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
# Whether to allow unsupported versions of Ceph. Currently `pacific` and `quincy` are supported.
|
||||
# Future versions such as `reef` (v18) would require this to be set to `true`.
|
||||
# Do not set to true in production.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
quay.io/ceph/ceph:v17.2.5
|
||||
quay.io/ceph/ceph:v17.2.6
|
||||
quay.io/cephcsi/cephcsi:v3.7.2
|
||||
quay.io/csiaddons/k8s-sidecar:v0.5.0
|
||||
registry.k8s.io/sig-storage/csi-attacher:v4.1.0
|
||||
|
||||
@@ -18,7 +18,7 @@ spec:
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
containers:
|
||||
- name: rook-ceph-tools
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
|
||||
@@ -250,7 +250,7 @@ metadata:
|
||||
},
|
||||
"spec": {
|
||||
"cephVersion": {
|
||||
"image": "quay.io/ceph/ceph:v17.2.5"
|
||||
"image": "quay.io/ceph/ceph:v17.2.6"
|
||||
},
|
||||
"dataDirHostPath": "/var/lib/rook",
|
||||
"mon": {
|
||||
|
||||
@@ -34,7 +34,7 @@ metadata:
|
||||
namespace: rook-ceph
|
||||
spec:
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.5
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
count: 3
|
||||
|
||||
@@ -18,9 +18,9 @@ include ../image.mk
|
||||
# Image Build Options
|
||||
|
||||
ifeq ($(GOARCH),amd64)
|
||||
CEPH_VERSION ?= v17.2.5-20221017
|
||||
CEPH_VERSION ?= v17.2.6-20230410
|
||||
else
|
||||
CEPH_VERSION ?= v17.2.5-20221017
|
||||
CEPH_VERSION ?= v17.2.6-20230410
|
||||
endif
|
||||
REGISTRY_NAME = quay.io
|
||||
BASEIMAGE = $(REGISTRY_NAME)/ceph/ceph-$(GOARCH):$(CEPH_VERSION)
|
||||
|
||||
@@ -161,7 +161,7 @@ func TestSSLPodSpec(t *testing.T) {
|
||||
context: context,
|
||||
rookVersion: "rook/rook:myversion",
|
||||
clusterSpec: &cephv1.ClusterSpec{
|
||||
CephVersion: cephv1.CephVersionSpec{Image: "quay.io/ceph/ceph:v17.2.5"},
|
||||
CephVersion: cephv1.CephVersionSpec{Image: "quay.io/ceph/ceph:v17"},
|
||||
Network: cephv1.NetworkSpec{
|
||||
HostNetwork: true,
|
||||
},
|
||||
@@ -591,7 +591,7 @@ func TestCheckRGWSSES3Enabled(t *testing.T) {
|
||||
store: store,
|
||||
clusterInfo: &client.ClusterInfo{Context: ctx, CephVersion: cephver.CephVersion{Major: 17, Minor: 2, Extra: 3}},
|
||||
clusterSpec: &cephv1.ClusterSpec{
|
||||
CephVersion: cephv1.CephVersionSpec{Image: "quay.io/ceph/ceph:v17.2.5"},
|
||||
CephVersion: cephv1.CephVersionSpec{Image: "quay.io/ceph/ceph:v17"},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
cephVersion:
|
||||
image: quay.io/ceph/ceph:v17.2.3
|
||||
image: quay.io/ceph/ceph:v17.2.6
|
||||
dashboard:
|
||||
enabled: false
|
||||
network:
|
||||
|
||||
Reference in new issue
Block a user