Skip to content

allowAutoIOPSPerGBIncrease should be honored on volume resize #2551

@heybronson

Description

@heybronson

Is your feature request related to a problem? Please describe.
When allowAutoIOPSPerGBIncrease is enabled for a storage class, it's only honored on the initial CreateDisk call: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/pkg/cloud/cloud.go#L581

Subsequent volume resizes do not consider allowAutoIOPSPerGBIncrease, meaning IOPS is never recalculated with the new disk size.

Describe the solution you'd like in detail
allowAutoIOPSPerGBIncrease should be honored and IOPS should be recalculated when a persistent volume is resized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions