当前ceph 你的ceph集群上执行 1.创建名为k8s-rbd 的存储池 ceph osd pool create k8s-rbd 64 642.初始化 rbd pool init k8s-rbd3 创建k8s访问块设备的认证用户 ceph auth get-or-create client.kubernetes mon 'profile rbd' osd 'profile rbd pool=k8s-rbd' 部署 ceph-rbd-csi cat <<EOF > csi-config-map.yaml --- apiVersion: v1 kind: ConfigMap data:config.json: |-[{"clusterID": "76e8c1f6-0baa-11ef-ae7a-bc24115bcbdc","monitors": ["192.168.0.26:6789","192.168.0.27:6789","192.168.0.28:6789"]}] metadata:name: ceph-csi-config EOF###说明### "clusterID": "76e8c1f6-0baa-11ef-ae7a-bc24115bcb