diff --git a/pkg/volume/awsebs/aws_util.go b/pkg/volume/awsebs/aws_util.go index ce513d1b1bb..4272f76c607 100644 --- a/pkg/volume/awsebs/aws_util.go +++ b/pkg/volume/awsebs/aws_util.go @@ -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) diff --git a/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go b/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go index 4f42c944794..06e3e8efe64 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go +++ b/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go @@ -435,7 +435,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.