rook-ceph 实操 v17.2.5

1. 查看ceph版本

bash 复制代码
kubectl exec -it rook-ceph-tools-xxxxx -n rook-ceph /bin/bash
ceph version
# ceph version 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757) quincy (stable)

打开之前下载的rook-ceph文件夹(前提是你的文件夹名字已经标注了版本)在 deploy/examples/cluster.yaml里有

image: quay.io/ceph/ceph:v17.2.5

2. 删除osd

进入tool pod

bash 复制代码
# Step 1: Mark OSD as out
ceph osd out osd.3

# Step 2: Check the cluster status and wait for rebalancing
ceph -s

# Step 3: Once the cluster is balanced, remove the OSD from the CRUSH map and authentication
ceph osd crush remove osd.3
ceph auth del osd.3
ceph osd rm osd.3

# Step 4: Delete the corresponding Rook OSD deployment
kubectl -n rook-ceph delete deployment rook-ceph-osd-3 # 注意这里是deployment

# Optional Step 5: If using PVC, delete the corresponding PVC
kubectl -n rook-ceph delete pvc <pvc-name>

3. 释放出空间

需要删除 pv pvc sc,还有pool 才能释放出来

4. iscsi rook-ceph 在ceph 笔记2 中用ceph 16实现的

进入tool

ceph mgr module enable rook

bash-4.4$ ceph orch ps

Error ENOENT: No orchestrator configured (try ceph orch set backend)

bash-4.4$ ceph orch ls

Error ENOENT: No orchestrator configured (try ceph orch set backend)

bash-4.4$ ceph orch set backend rook

bash-4.4$ ceph orch ls

相关推荐
bgy66661 天前
Ceph 分布式存储完整实战指南:架构、部署与全场景运维
分布式·ceph·架构
SLD_Allen1 天前
Ceph配置RDMA和GPUDirect支持的具体技术方案
ceph·rdma·gpudirect
2401_834636992 天前
Ceph 分布式存储从入门到精通:架构解析 + cephadm 部署 + 存储池管理
ceph
吾皇斯巴达6 天前
ceph index-less桶可以用radosgw-admin bucket rm吗
ceph
运维全栈笔记18 天前
腾讯云 CVM 搭建 Ceph 集群部署笔记
笔记·ceph·腾讯云
刘某的Cloud20 天前
ceph osd 导入导出 rbd volume 卷
linux·运维·ceph·volume
heimeiyingwang20 天前
【架构实战】Kubernetes存储实战:从EmptyDir到Ceph CSI的持久化存储选型指南
ceph·架构·kubernetes
DLYSB_1 个月前
存储运维实战:基于 Ceph Event 监听与 Python 适配器的分布式存储健康度物理声光响应架构
运维·ceph·python·报警灯
AAA@峥1 个月前
Ceph 分布式文件系统 CephFS 实战指南
运维·分布式·ceph
AAA@峥1 个月前
Ceph RBD 块存储全解析:原理与实操汇总
运维·分布式·ceph