rbd: add support for thick provisioning option

Add an option to the StorageClass to support creating fully allocated
(thick provisioned) RBD images

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Madhu Rajanna
2020-11-09 14:37:47 +05:30
committed by mergify[bot]
parent 354f395aa1
commit c417a5d0ba
4 changed files with 15 additions and 0 deletions

View File

@ -29,6 +29,9 @@ parameters:
# eg: pool: rbdpool
pool: <rbd-pool-name>
# Set thickProvision to true if you want RBD images to be fully allocated on
# creation (thin provisioning is the default).
thickProvision: "false"
# (required) RBD image features, CSI creates image with image-format 2
# CSI RBD currently supports only `layering` feature.
imageFeatures: layering