...
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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
...