-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add allowAutoIOPSPerGBIncrease to translated AWS EBS StorageClasses #101082
Add allowAutoIOPSPerGBIncrease to translated AWS EBS StorageClasses #101082
Conversation
By default, AWS EBS CSI driver does not increase IOPS of a volume to the minimal value supported by AWS - such increase results in increased costs, which might be surprising. It returns an error instead (increase IOPSPerGB or volume size). In-tree volume plugin does increase the IOPS. In order to preserve this behavior of volumes migrated to CSI, the translated StorageClasses should include "allowAutoIOPSPerGBIncrease" option that allows the driver to increase IOPS as the in-tree volume plugin would do.
@jsafrane: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve cc @Jiawei0227 we'll need to be careful not to backport 1.22 version of csi-translation-lib to patch releases of the csi sidecars. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane, msau42 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ack. |
ping @wongma7 - can you please take a look? |
/lgtm |
/test pull-kubernetes-node-e2e-containerd |
/kind bug
What this PR does / why we need it:
By default, AWS EBS CSI driver does not increase IOPS of a volume to the minimal value supported by AWS - such increase results in increased costs, which might be surprising. It returns an error instead ("increase
IOPSPerGB
or volume size").In-tree volume plugin does increase the IOPS. In order to preserve this behavior of volumes migrated to CSI, the translated StorageClasses should include
allowAutoIOPSPerGBIncrease
option that allows the driver to increase IOPS as the in-tree volume plugin would do.Which issue(s) this PR fixes:
Special notes for your reviewer:
With this change, Kubernetes (external-provisioner) requires a version of AWS EBS CSI driver that understands
allowAutoIOPSPerGBIncrease
parameter. At time of writing this PR, such release does not exist, but I believe it will be available when the next Kubernetes version is released (relevant changes were already merged there).Does this PR introduce a user-facing change?
cc @Jiawei0227 @msau42 @wongma7 @AndyXiangLi
See also kubernetes-sigs/aws-ebs-csi-driver#809 for details on the CSI driver side.
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: