Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

...

Code Block
languageyml
titleSC parameters
collapsetrue
allowVolumeExpansion:	# false (default) or true
volumeBindingMode:	# Immediate (default) or WaitForFirstConsumer
reclaimPolicy:	# Delete (default) or Retain - Recycle not supported

Since block storage allows a single pod to mount storage, only an accessMode of type RWO (ReadWriteOnce) is allowed, when instantiating a PVC.

Teardown

To clean up all the artifacts created

...