From d880a1b78c1afe7e40410a6937412d7d758b5597 Mon Sep 17 00:00:00 2001 From: Phil Bracikowski Date: Mon, 20 Jul 2020 17:41:13 -0700 Subject: [PATCH] AWS: increase io1 volume IOPs limit Max IOPS for SSD (io1) volumes was increased from 20,000 to 32,000: https://aws.amazon.com/about-aws/whats-new/2017/12/amazon-ebs-provisioned-iops-ssd--io1--volumes-now-support-32-000-iops-and-500-mbs-per-volume/ and later to 64,000: https://aws.amazon.com/about-aws/whats-new/2018/11/amazon-elastic-block-store-announces-double-the-performance-of-provisioned-iops-volumes/ --- pkg/volume/awsebs/aws_util.go | 2 +- staging/src/k8s.io/legacy-cloud-providers/aws/aws.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ece2cf5597c..3deee025d72 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go +++ b/staging/src/k8s.io/legacy-cloud-providers/aws/aws.go @@ -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.