使用场景
如果 cephcluster 资源卡在 deleting 状态,会导致集群内无法执行更新操作,比如添加 osd。如下

处理方法
安装 rook-ceph 插件
kubectl krew install rook-ceph #需要能访问 github
执行恢复命令
kubectl rook-ceph restore-deleted cephclusters
⚠️警告:执行该命令后所有的 osd 等资源会重启,但不会丢数据。
官网文档
Restoring Deleted CRs 恢复已删除的 CR
When a Rook CR is deleted, the Rook operator will respond to the deletion event to attempt to clean up the cluster resources. If any data is still pr
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



