Phil Bracikowski 2020-07-20 17:41:13 -07:00
parent 5a529aa3a0
commit d880a1b78c
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ func populateVolumeOptions(pluginName, pvcName string, capacityGB resource.Quant
case "iopspergb":
volumeOptions.IOPSPerGB, err = strconv.Atoi(v)
if err != nil {
return nil, fmt.Errorf("invalid iopsPerGB value %q, must be integer between 1 and 30: %v", v, err)
return nil, fmt.Errorf("invalid iopsPerGB value %q: %v", v, err)
}
case "encrypted":
volumeOptions.Encrypted, err = strconv.ParseBool(v)

View File

@ -427,7 +427,7 @@ const (
// Source: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
const (
MinTotalIOPS = 100
MaxTotalIOPS = 20000
MaxTotalIOPS = 64000
)
// VolumeOptions specifies capacity and tags for a volume.