마짱짱의 지식창고

kubenetes rook-ceph-storage 본문

Cloud/Virtual

kubenetes rook-ceph-storage

마짱짱 2020. 7. 27. 16:28
반응형

git clone --single-branch --branch release-1.3 https://github.com/rook/rook.git

cd rook/cluster/examples/kubernetes/ceph

  1. Ceph Cluster
    kubectl create -f common.yaml
    kubectl create -f operator.yaml
    kubectl create -f cluster.yaml
    (Public Cloud: cluster-on-pvc.yaml)
    (Minikube: cluster-test.yaml)

  2. Ceph Toolbox
    kubectl create -f toolbox.yaml

kubectl -n rook-ceph exec rook-ceph-tools-XXXX -- ceph status
health: HEALTH_OK

  1. Ceph Block Storage
    RBD(RADOS Block Device)

kubectl create -f csi/rbd/storageclass.yaml

(Production Replica: storageclass.yaml)
(Production Erasure Coding: storageclass-ec.yaml)
(Minikube: storageclass-test.yaml)

  1. Ceph File Storage
    CephFS

kubectl create -f filesystem.yaml
kubectl create -f csi/cephfs/storageclass.yaml

반응형