发布日期: 2024-08-20
版本号: v1.15.0

升级指南指出需参考Rook升级文档完成旧版本迁移。本次更新包含多项重大变更:最低支持的Kubernetes版本提升至v1.26;指定无效存储设备类时将触发错误;弃用CSI网络holder组件需提前处理;COSI存储桶相关资源需按指引更新;对象存储端点配置方式变更需调整参数。新增功能包括:支持Ceph Squid版本,Ceph-CSI驱动升级至v3.12,允许通过集群配置动态调整OSD设备类型和权重,并规范了镜像命名规则。实验性功能新增对象存储的Keystone认证支持,同时CSI配置将逐步迁移至由独立Operator管理的CRD资源,需分步启用新机制。注意Quincy版本支持将在下一版本移除,部分实验功能需按文档操作启用。

更新内容 (中文)

升级指南

如需从旧版Rook升级,请参阅Rook升级指南

重大变更

  • Kubernetes最低支持版本提升至v1.26
  • 更新CephBlockPool时,若指定了无效设备类型,Rook将返回错误。使用无效设备类型的存储池可能开始故障,直至指定正确的设备类型。详见#14057
  • Rook已弃用CSI网络"holder"容器。若Rook operator命名空间存在名为csi-*plugin-holder-*的容器,请参考详细文档禁用。在升级至未来Rook v1.16前必须完成此弃用流程
  • Ceph COSI驱动镜像已更新,影响现有COSI Bucket、BucketClaim和BucketAccess。按此指南更新现有集群
  • 当设置CephObjectStore spec.hosting配置时,CephObjectStore、CephObjectStoreUser和OBC端点行为已变更。使用新的spec.hosting.advertiseEndpoint配置定义所需行为,如文档所述

新功能

  • 新增对Ceph Squid(v19)的支持,同时保留Reef(v18)和Quincy(v17)。Quincy支持将在Rook v1.16移除
  • Ceph-CSI驱动v3.12,包含RBD新选项、日志轮转及更新sidecar镜像
  • 允许更新OSD设备类型(需在CephCluster CR中设置allowDeviceClassUpdate: true
  • 允许更新OSD权重(需在CephCluster CR中设置allowOsdCrushWeightUpdate: true
  • 在operator清单和helm chart中使用完全限定镜像名称(docker.io/rook/ceph

实验性功能

  • CephObjectStore支持S3和Swift的Keystone身份验证。参考对象存储文档进行配置
  • CSI operator:CSI设置正迁移至由新operator管理的CR。启用后,Rook会将原operator configmap或环境变量中的设置转换为CSI operator管理的新CR。启用需两步:

更新内容 (原始)

Upgrade Guide

To upgrade from previous versions of Rook, see the Rook upgrade guide.

Breaking Changes

  • Minimum version of Kubernetes supported is increased to K8s v1.26.
  • During CephBlockPool updates, Rook will now return an error if an invalid device class is specified. Pools with invalid device classes may start failing until the correct device class is specified. For more details, see #14057.
  • Rook has deprecated CSI network “holder” pods. If there are pods named csi-*plugin-holder-* in the Rook operator namespace, see the detailed documentation to disable them. This deprecation process will be required before upgrading to the future Rook v1.16.
  • Ceph COSI driver images have been updated. This impacts existing COSI Buckets, BucketClaims, and BucketAccesses. Update existing clusters following the guide here.
  • CephObjectStore, CephObjectStoreUser, and OBC endpoint behavior has changed when CephObjectStore spec.hosting configurations are set. Use the new spec.hosting.advertiseEndpoint config to define required behavior as documented.

Features

  • Added support for Ceph Squid (v19), in addition to Reef (v18) and Quincy (v17). Quincy support will be removed in Rook v1.16.
  • Ceph-CSI driver v3.12, including new options for RBD, log rotation, and updated sidecar images.
  • Allow updating the device class of OSDs, if allowDeviceClassUpdate: true is set in the CephCluster CR.
  • Allow updating the weight of an OSD, if allowOsdCrushWeightUpdate: true is set in the CephCluster CR.
  • Use fully-qualified image names (docker.io/rook/ceph) in operator manifests and helm charts.

Experimental Features

  • CephObjectStore support for keystone authentication for S3 and Swift. See the Object store documentation to configure.
  • CSI operator: CSI settings are moving to CRs managed by a new operator. Once enabled, Rook will convert the settings previously defined in the operator configmap or env vars into the new CRs managed by the CSI operator. There are two steps to enable:

下载链接