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
相关推荐
web151173602234 小时前
Redis--模糊查询--方法实例
数据库·redis·缓存
TT-Kun4 小时前
MySQL | 库操作
数据库·mysql
GreatSQL社区4 小时前
【GreatSQL优化器-15】index merge
数据库·oracle
PengShuaiD55 小时前
【数据库维护】如何解决Clickhouse数据库Too many parts报错
数据库·clickhouse
TechNomad5 小时前
C++访问MySQL数据库
数据库·c++·mysql
数据的世界016 小时前
Deepin(Linux)安装MySQL指南
数据库·mysql
左灯右行的爱情7 小时前
Redis-事务
数据库·redis·bootstrap
V1ncent Chen7 小时前
MySQL 插入更新语句(insert…on duplicate key update语句 )
数据库·sql·mysql
web150850966417 小时前
给SQL server数据库表字段添加注释SQL,附修改、删除注释SQL及演示
数据库·sql·oracle
qwy7152292581637 小时前
20-R 绘图 - 饼图
开发语言·数据库·r语言