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

posted @ 2023-01-18 17:57  MegaloBox  阅读(65)  评论(0编辑  收藏  举报