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
相关推荐
ccice012 分钟前
MySQL 函数
数据库·mysql
高梦轩6 小时前
MySQL高可用
android·运维·数据库
紫金修道8 小时前
【DeepAgent】概述
开发语言·数据库·python
孟章豪9 小时前
《SQL拼接 vs 参数化,为什么公司禁止拼接SQL?(附真实案例)》
服务器·数据库·sql
荒川之神9 小时前
ORACLE LEVEL函数练习
数据库·oracle
·云扬·9 小时前
【MySQL】实战:用pt-table-sync修复主从数据一致性问题
数据库·mysql·ffmpeg
swIn KWAL10 小时前
【MySQL】环境变量配置
数据库·mysql·adb
shark222222210 小时前
【JOIN】关键字在MySql中的详细使用
数据库·mysql
RATi GORI10 小时前
MySQL中的CASE WHEN语句:用法、示例与解析
android·数据库·mysql
坊钰10 小时前
Java 死锁问题及其解决方案
java·开发语言·数据库