-
Notifications
You must be signed in to change notification settings - Fork 807
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
remove condition on iopspergb key being mandatory for io1 volumes #1590
remove condition on iopspergb key being mandatory for io1 volumes #1590
Conversation
|
Welcome @surian! |
Hi @surian. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/retest |
/lgtm |
@@ -1521,45 +1521,6 @@ func TestCreateVolume(t *testing.T) { | |||
checkExpectedErrorCode(t, err, codes.Aborted) | |||
}, | |||
}, | |||
{ | |||
name: "fail with missing iopsPerGB parameter", |
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.
Can we add a test to check for success when using io1/io2
volume with no iopsPerGb
parameter?
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.
I added 2 tests (one for io1, one for io2) to check for success when iops parameter is used instead of iopspergb.
/retest |
/retest flaky test Could you please squash your commits? Other than that, this PR looks good to me as written. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rdpsin 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 |
/hold needs squash |
9abe444
to
0f78b72
Compare
Done 👍 |
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!
/unhold
Condition on iopsPerGB key being mandatory for io1 volumes introduced by #767 is irrelevant and should be removed as it's possible to create a io1 volume by specifying the desired number of iops.
The documentation updated by #1409 is also already mentioning that iopPerGB or iops can be used for io1 volumes but it's today impossible to use the iops key because of this condition.