In CDP CLI, while creating an operational database, you can set the default root volume size with the --root-volume-size (integer) option in GiB for all the instances in the cluster.
Following is a sample command.
cdp opdb create-database --environment-name test-env --database-name test-db --root-volume-size 300
For more information, see CDP CLI documentation.
This is available starting in COD v1.41 and you do not need to upgrade to a higher version of COD to benefit from this feature.
Try the Cloudera Operational Database for free with Test Drive (no cloud account or setup is needed).