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
相关推荐
代码不停27 分钟前
Redis基本数据类型
数据库·redis
aifannihao34 分钟前
ON CONFLICT 冲突后返回空:sqlite3 实测 get-or-create
数据库·python·postgresql·sqlite3·标准库
得物技术1 小时前
Computer Use与Browser Use:揭秘Agent如何操作电脑和浏览器|得物技术
数据库·github·ai编程
小小程序员.¥1 小时前
mysql备份以及数据恢复实战
数据库·mysql
AllData公司负责人2 小时前
实战一:AllData大模型与AI数据底座-数据传输平台-DBSyncer,搭建 File 到 Doris 高效数据同步链路,批量文件离线入仓
数据库·人工智能·分布式·大模型·数据传输·数据同步·连接器
黄俊懿3 小时前
【架构师从入门到进阶】第七章:缓存和存储的优化思路——第六节:数据库更新和缓存更新的组合方案
数据库·缓存·性能优化·架构·系统架构
小马过河R16 小时前
真实场景:用户自建定时任务与推送提醒Agent-架构设计与可靠性实践
数据库·人工智能·agent·vibe coding·ai coding
鹤落晴春17 小时前
【MySQL】 | 两阶段提交、主从复制
运维·数据库·mysql
SelectDB18 小时前
中小企业数据仓库怎么选?按数据规模、BI 并发和国产化要求分三档
数据库
SelectDB18 小时前
数据仓库一年要花多少钱?云数仓、自建 Doris 成本拆解与 TCO 计算指南
数据库