Volume create options for the CVS on GCP driver:
size
- the size of the volume, defaults to 1 TiBserviceLevel
- the CVS service level of the volume, defaults tostandard
. Valid values arestandard
,premium
, andextreme
.snapshotReserve
- this will set the snapshot reserve to the desired percentage. The default is no value, meaning CVS will select the snapshot reserve (usually 0%).
Using these options during the docker volume create operation is super simple, just provide the option and the value
using the -o
operator during the CLI operation. These override any equivalent values from the JSON configuration file.
# create a 2TiB volume
docker volume create -d netapp --name demo -o size=2T
# create a 5TiB premium volume
docker volume create -d netapp --name demo -o size=5T -o serviceLevel=premium
The minimum volume size is 1 TiB.