Skip to content

Commit d2a0b6f

Browse files
authored
Merge pull request kubernetes#90014 from jacobmarble/aws-max-total-iops
AWS: remove volume IOPS limit
2 parents bdcdfe4 + d880a1b commit d2a0b6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/volume/awsebs/aws_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func populateVolumeOptions(pluginName, pvcName string, capacityGB resource.Quant
176176
case "iopspergb":
177177
volumeOptions.IOPSPerGB, err = strconv.Atoi(v)
178178
if err != nil {
179-
return nil, fmt.Errorf("invalid iopsPerGB value %q, must be integer between 1 and 30: %v", v, err)
179+
return nil, fmt.Errorf("invalid iopsPerGB value %q: %v", v, err)
180180
}
181181
case "encrypted":
182182
volumeOptions.Encrypted, err = strconv.ParseBool(v)

staging/src/k8s.io/legacy-cloud-providers/aws/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ const (
435435
// Source: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
436436
const (
437437
MinTotalIOPS = 100
438-
MaxTotalIOPS = 20000
438+
MaxTotalIOPS = 64000
439439
)
440440

441441
// VolumeOptions specifies capacity and tags for a volume.

0 commit comments

Comments
 (0)