kexplo / microk8s_rook_ceph

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Microk8s + Rook + Ceph

Prerequisite

$ git clone --single-branch --branch v1.5.8 https://github.com/rook/rook.git
$ cp operator.yaml rook/cluster/examples/kubernetes/ceph/
$ cp cluster.yaml rook/cluster/examples/kubernetes/ceph/
# copy common.yaml only if you want to disable hostNetwork
$ cp common.yaml rook/cluster/examples/kubernetes/ceph/

Install

$ cd rook/cluster/examples/kubernetes/ceph/
$ kubectl create -f crds.yaml -f common.yaml -f operator.yaml
## verify the rook-ceph-operator is in the `Running` state before proceeding
$ kubectl create -f cluster.yaml

Configure storage

References

About