Rook-ceph(1.12.9最新版)

官网的步骤

js 复制代码
git clone --single-branch --branch v1.12.9 https://github.com/rook/rook.git
cd rook/deploy/examples
kubectl create -f crds.yaml -f common.yaml -f operator.yaml
kubectl create -f cluster.yaml

整理后的已经替换好的国内镜像的

js 复制代码
git clone https://gitee.com/jbjb123/rook-ceph.git

cd rook-ceph/rook-ceph-1.12.9/
kubectl create -f crds.yaml -f common.yaml -f operator.yaml
kubectl create -f cluster.yaml

如果安装遇到csi-rbdplugin报错以下信息

js 复制代码
rbd_util.go:303] modprobe failed (an error (exit status 1) occurred while running modprobe args: [rbd]): "modprobe: ERROR: could not insert 'rbd': Exec format error\n"
 16529 driver.go:154] an error (exit status 1) occurred while running modprobe args: [rbd]

需要在node节点上重新加载内核

js 复制代码
#我的内核比较高opensuse tumbleweed
# ls /lib/modules/6.5.6-1-default/kernel/drivers/block/rbd.ko.zst
/lib/modules/6.5.6-1-default/kernel/drivers/block/rbd.ko.zst
重新加载
# modprobe rbd

重启恢复正常

js 复制代码
csi-rbdplugin-2l6zk                                  2/2     Running     0               3h3m
csi-rbdplugin-5lfrd                                  2/2     Running     0               3h3m
csi-rbdplugin-j96zs                                  2/2     Running     0               3h3m

最后创建dashboard,tools,storageclass

js 复制代码
kubectl apply -f dashboard-https.yaml -f toolbox.yaml -f nginx.yaml
#获取dashboard登录密码
kubectl -n rook-ceph get secret rook-ceph-dashboard-password -o jsonpath="{['data']['password']}"|base64 --decode && echo
相关推荐
数行拙笔9 分钟前
Redis---set类型
数据库·redis·缓存
Leon-Ning Liu27 分钟前
【真实经验分享】Oradebug抓取阻塞源SQL语句
数据库
观远数据32 分钟前
消费品牌选型BI的能力边界:三类差异化场景的适配清单与排除项
数据库·人工智能·microsoft
TlSfoward41 分钟前
爬虫指纹漂移监控与回归测试:JA3/JA4 变化为什么会影响线上验证 TLSFOWARD
数据库·爬虫·网络协议·搜索引擎
cmes_love1 小时前
期货Level2与股票逐笔行情数据有什么,如何下载
数据库·区块链
—Miss. Z—1 小时前
计算机二级MySQL——基本操作题
数据库·mysql·oracle
eddietao1 小时前
MySQL+SQLServer数据库-笔记
数据库·笔记·mysql
XS0301061 小时前
Spring AI第一课
数据库·人工智能·spring
LaughingZhu2 小时前
Product Hunt 每日热榜 | 2026-07-17
前端·数据库·人工智能·经验分享·mysql·chatgpt·html
DFT计算杂谈2 小时前
DeepSeek 集群服务器无root本地部署指南
数据库·人工智能·python·opencv·算法