-
Notifications
You must be signed in to change notification settings - Fork 813
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
Implement KEP3751 ("ControllerModifyVolume") #1941
Conversation
…arate functions Signed-off-by: Connor Catlett <conncatl@amazon.com>
Signed-off-by: Connor Catlett <conncatl@amazon.com>
Code Coverage Diff
|
/retest Prow was down, back up now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comprehensive code coverage and adding e2e tests. Clean implementation, did not run into any issues during manual testing!
Few suggestions but this PR is looking good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last request: can we add an example for users in this section: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/examples/kubernetes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manual testing, then will approve.
Does the actual e2e tests pass for AWS's use case? |
Signed-off-by: Connor Catlett <conncatl@amazon.com>
…xternal-provisioner Signed-off-by: Connor Catlett <conncatl@amazon.com>
Signed-off-by: Connor Catlett <conncatl@amazon.com>
2171a69
to
d6d8401
Compare
@torredil @AndrewSirenko comments addressed @sunnylovestiramisu what do you mean by the "actual" e2e tests? If you mean the AWS private e2e tests added in this PR, those pass. If you mean upstream k/k e2e tests, as far as I know none of those exist yet (https://github.com/search?q=repo%3Akubernetes%2Fkubernetes+path%3Atest%2Fe2e%2F*+VolumeAttributesClass&type=code) - as a matter of fact I was planning to contirbute to those after this gets merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. Especially all the installation documentation raises the bar. Thank you. One small typo otherwise lgtm.
|
||
- `ebs.csi.aws.com/volumeType`: to update the volume type | ||
- `ebs.csi.aws.com/iops`: to update the IOPS | ||
- `ebs.csi.aws.com/throughput`: to update the throughput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
throughput
/lgtm |
@ConnorJC3 I meant the AWS private e2e tests with a ControllerModifyVolume call. |
@sunnylovestiramisu yes the private AWS e2e tests pass with a ControllerModifyVolume call. You can see the logs if you search for For example see this ginkgo spec and this |
/lgtm Just a reminder that some error cases were not tested out for this feature other than some unit tests coverage. If you see any bugs please report to the external-resizer or external-provisioner repo. |
Signed-off-by: Connor Catlett <conncatl@amazon.com>
d6d8401
to
3048ea8
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AndrewSirenko 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 |
/retest |
Is this a bug fix or adding new feature?
/kind feature
What is this PR about? / Why do we need it?
Implements support for modifying volumes via KEP3751 (https://kep.k8s.io/3751) using the EBS CSI Driver.
Change is split into multiple small commits:
What testing is done?
Manually tested, unit tests and e2e tests added