-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes #9945
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
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes #9945
Conversation
|
@jhixson74: This pull request references CORS-4212 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.21.0" version, but no target version was set. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/label do-not-merge |
|
@jhixson74: The label(s) In response to this:
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-sigs/prow repository. |
|
/label do-not-merge/hold |
|
@jhixson74: The label(s) In response to this:
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-sigs/prow repository. |
|
/hold |
|
/cc |
patrickdillon
left a comment
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.
Overall this looks good to me
/approve
There are a few small things that should be cleaned up, commented below. And there is no rush because this depends on openshift/api#4212
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon 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 |
0768ab9 to
d6c4527
Compare
|
@jhixson74: This pull request references CORS-4212 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
d6c4527 to
582301b
Compare
|
@jhixson74: This pull request references CORS-4212 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
@jhixson74: This pull request references CORS-4212 which is a valid jira issue. In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
1ae6cc6 to
036c04e
Compare
|
/test verify-codegen |
036c04e to
fa86ed5
Compare
|
/hold cancel |
9b896b0 to
91e979d
Compare
GP3 volumes have the ability to configure throughput from 125 MiB/s to 2000 MiB/s. This allows the ability to set this at install time in the install-config. https://issues.redhat.com/browse/CORS-4212
91e979d to
2e5a20b
Compare
|
/retest |
|
/lgtm |
|
/retest-required |
|
My initial test of this failed with That's something we will want to validate for (but can do separately from this PR) |
|
/verified by @patrickdillon I tested the installer bits locally and confirmed that throughput was set on the control plane The overall functionality of this feature depends on adding support in machine-api operator. |
|
@patrickdillon: This PR has been marked as verified by In response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
install config used for verify: controlPlane:
platform:
aws:
rootVolume:
type: gp3
throughput: 1234
size: 200
iops: 5000 |
tthvo
left a comment
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.
/lgtm
I posted quick testing results in internal channel. Overall, throughput is set on control plane machines!
Worker nodes rollout is hitting a panic, which I added openshift/machine-api-provider-aws#155 (comment). Resolving that helps the install complete successfully and throughput is set on worker machines as expected.
|
/retest-required |
|
@jhixson74: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
e81ba7f
into
openshift:main
| // | ||
| // +kubebuilder:validation:Minimum=0 | ||
| // +optional | ||
| Throughput int64 `json:"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.
Needs to be a pointer so that you can detect between someone trying to explicitly set 0 vs no opinion
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 Joel, I opened #10132 to address this.
| // Throughput to provision in MiB/s supported for the volume type. This | ||
| // is currently only applicable to volumes of type gp3. | ||
| // | ||
| // +kubebuilder:validation:Minimum=0 |
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.
The minimum is 125 in the API, why would it be different here?
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, it will be addressed in #10132
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.
The minimum is 125 in the API, why would it be different here?
I based this work directly off of how IOPS was implemented. IOPS makes all the same assumptions and works the same way as Throughput. So I (wrongly) assumed if everyone was okay with how IOPS was implemented, then it would be okay for 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.
TRT-2440: Revert #9945 "CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes"
GP3 volumes have the ability to configure throughput from 125 MiB/s to 2000 MiB/s. This allows the ability to set this at install time in the install-config.
https://issues.redhat.com/browse/CORS-4212
https://issues.redhat.com/browse/CORS-4213
https://issues.redhat.com/browse/CORS-4214
https://issues.redhat.com/browse/CORS-4277
This depends on openshift/machine-api-provider-aws#155 and openshift/machine-api-operator#1430