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
相关推荐
麒qiqi1 小时前
理解 Linux IO 多路复用
开发语言·数据库
MediaTea1 小时前
Python:模块 __dict__ 详解
开发语言·前端·数据库·python
山峰哥2 小时前
SQL调优核心战法——索引失效场景与Explain深度解析
大数据·汇编·数据库·sql·编辑器·深度优先
GottdesKrieges2 小时前
OMS迁移平台问题排查思路
数据库
源力祁老师2 小时前
Odoo 客户端注册表
数据库
学Linux的语莫2 小时前
Milvus向量数据库的操作(基于Langchain)
数据库·langchain·milvus
怪我冷i2 小时前
dbeaver下载数据库驱动加速
数据库·postgresql·ai编程·ai写作
星辰_mya2 小时前
redis集群
数据库·redis·缓存
编程小Y3 小时前
MySQL原理
数据库·mysql
小石头 100863 小时前
MySQL 视图:把复杂变简单的“虚拟化”艺术
数据库·mysql