


























Ceph follows a major release cadence with named versions - Quincy, Reef, Squid, and so on. Each release brings new features, performance improvements, and changes that affect Rook deployments. Knowing how to evaluate these is essential for planning upgrades.
The primary sources for Ceph release information are:
# View release notes for currently running version
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- ceph version
# Then check: https://docs.ceph.com/en/latest/releases/Official channels to track:
docs.ceph.com/en/latest/releases/rook.io/docs/rook/latest/ceph.io/en/news/New RADOS features often affect data durability and performance:
# Check current RADOS features enabled in pools
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- ceph osd pool get mypool all | grep pg_num
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- ceph featuresView enabled RBD features on an image to evaluate snapshot and clone capabilities:
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- rbd info mypool/myimageEnable a new RBD feature on existing images:
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- rbd feature enable mypool/myimage deep-flattenTrack new MDS features with each release:
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- ceph fs dump
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- ceph mds statReview RGW zone configuration and enabled features:
kubectl -n rook-ceph exec -it deploy/rook-ceph-tools -- radosgw-admin zone getRook exposes new Ceph features through the CephCluster spec. For example, to set the Ceph version and enable modules:
apiVersion: ceph.rook.io/v1
kind: CephCluster
spec:
cephVersion:
image: quay.io/ceph/ceph:v19.2.0
mgr:
modules:
- name: pg_autoscaler
enabled: trueCheck the current CephCluster configuration:
kubectl -n rook-ceph get cephcluster rook-ceph -o jsonpath='{.spec.mgr.modules}'Script to compare features between two releases:
#!/bin/bash
PREV_VER="18.2.0"
NEW_VER="19.2.0"
echo "Comparing Ceph $PREV_VER vs $NEW_VER"
curl -s "https://raw.githubusercontent.com/ceph/ceph/v${NEW_VER}/doc/releases/squid.rst" | head -100Tracking new Ceph features requires consulting official release notes, the Rook changelog, and using ceph CLI commands to inspect enabled features. By systematically reviewing each component - RADOS, RBD, CephFS, and RGW - you can identify high-value features to enable and plan informed upgrades for your Rook-managed cluster.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。