rook搭建ceph
待补充
$ git clone --single-branch --branch v1.10.9 https://github.com/rook/rook.git
cd rook/deploy/examples/
# 查看要下载的镜像及版本
$ cat images.txt
quay.io/ceph/ceph:v17.2.5
quay.io/cephcsi/cephcsi:v3.7.2
quay.io/csiaddons/k8s-sidecar:v0.5.0
registry.k8s.io/sig-storage/csi-attacher:v4.1.0
registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.7.0
registry.k8s.io/sig-storage/csi-provisioner:v3.4.0
registry.k8s.io/sig-storage/csi-resizer:v1.7.0
registry.k8s.io/sig-storage/csi-snapshotter:v6.2.1
rook/ceph:v1.10.9
# 修改镜像源
$ vim operator.yaml
![](https://img2023.cnblogs.com/blog/1410227/202301/1410227-20230118173912681-122930763.png)
:%s#registry.k8s.io\/sig-storage#registry.aliyuncs.com\/google_containers#g
$ vim cluster.yaml
image: quay.io/ceph/ceph:v17.2.5
# 创建
kubectl create -f crds.yaml -f common.yaml -f operator.yaml
kubectl create -f cluster.yaml
本文来自博客园,作者:MegaloBox,转载请注明原文链接:https://www.cnblogs.com/cpw6/p/17060352.html