-
Notifications
You must be signed in to change notification settings - Fork 634
✨ ROSAMachinePool: support for capacity reservations #5649
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
✨ ROSAMachinePool: support for capacity reservations #5649
Conversation
Hi @mzazrivec. 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-sigs/prow repository. |
/ok-to-test |
71a4d19
to
b932828
Compare
|
||
gomock "github.com/golang/mock/gomock" | ||
v1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1" | ||
v1 "github.com/openshift-online/ocm-api-model/clientapi/clustersmgmt/v1" |
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.
No need to change this
v1 "github.com/openshift-online/ocm-api-model/clientapi/clustersmgmt/v1" | |
v1 "github.com/openshift-online/ocm-sdk-go/clustersmgmt/v1" |
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.
Fixed
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.
Actually, I put the change back. I remembered that this one change is generated by go generate
and without it make verify-gen
(part of CI) would be failing.
b932828
to
0db2942
Compare
0db2942
to
e08500c
Compare
/retest |
/lgtm |
LGTM label has been added. Git tree hash: f144ef64bc5215666857d3df0651429ad543b415
|
/approved |
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.
Looks reasonable, just one nit
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
/lgtm
LGTM label has been added. Git tree hash: 6a943899e6d7a84517eb734581cb6eeb60b14a91
|
This one should be ready now @nrb @richardcase |
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 had an inquiry/feedback left in the comment.
type: string | ||
capacityReservationID: | ||
description: |- | ||
CapacityReservationID specifies the ID of an AWS On-Demand Capacity Reservation. |
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.
My understanding is that CapacityReservationID can specify the ID of both AWS ODCR and CapacityBlocks for ML. ROSA will inquire the type of capacity reservation from AWS and populate the market type accordingly. If so, should we clarify that here in the description?
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.
@bchandra-ocp What description string are you proposing?
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.
How about
CapacityReservationID specifies the ID of an AWS On-Demand Capacity Reservation and Capacity Blocks for ML
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.
@bchandra-ocp Added.
e82eb26
to
8853c4b
Compare
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
LGTM label has been added. Git tree hash: c3aa1db4d156871076d3feb4cf916163cbe5d60c
|
/assign @nrb @richardcase Would you be able to add your review/labels here thanks! |
/label tide/merge-method-squash |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: richardcase 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 |
/test pull-cluster-api-provider-aws-e2e-blocking |
/cherry-pick release-2.9 |
@serngawy: #5649 failed to apply on top of branch "release-2.9":
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. |
/cherry-pick release-2.9 |
@serngawy: new pull request created: #5698 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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This pull request adds support for AWS Capacity Reservations to the
ROSAMachinePool
custom resource.The
capacityReservationId
is the string id of the AWS on-demand capacity reservation and it must be created in advance, before creating the node pool.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist:
Release note: