You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Block storage allows a single pod to mount storage. This page shows how to create a simple web application on Kubernetes using persistent volumes enabled by Rook.

Provision Storage

Note

This sample requires at least 1 OSD per node, with each OSD located on 3 different nodes.

Before Rook can provision storage, aStorageClassandCephBlockPoolneed to be created. This will allow Kubernetes to interoperate with Rook when provisioning PVs. So let's create these two components

SC and CephBlockPool
# The file is located in the path "rook/cluster/examples/kubernetes/ceph/csi/rbd"
$ k create -f storageclass.yaml
  • No labels