mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #90014 from jacobmarble/aws-max-total-iops
AWS: remove volume IOPS limit
This commit is contained in:
commit
d2a0b6f2b8
@ -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)
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user