-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Support attribute-based instance selection for AWS #4588
Conversation
7562b79
to
4c69fe2
Compare
@aleksandra-malinowska and @feiskyer may I ask if you are available to help review this PR? |
/area provider/aws |
@gjtempleton I haven't been able to get a response from the reviewers unfortunately. I've posted on the #pr-reviews Slack channel, but may I ask if there's anyone in particular I should reach out to for help reviewing? |
+AWS owners @Jeffwan @jaypipes @gjtempleton could you have a look? |
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.
Great work! Very clean addition to this rather complicated API add-on :D
A few comments on handling the case where a user specified the InstanceRequirements within the LT rather than within an ASG MixedInstancesPolicy Override. In that case, the InstanceRequirement will not show up in the MixedInstancePolicy, so the LT will need to be inspected to retrieve the Requirements.
b383de6
to
518dea9
Compare
3b29845
to
a443605
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.
Great start on this @AustinSiu! Thank you!
I've left a number of comments inline, please take a look.
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.
nice!
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.
@AustinSiu this is very close! just a couple remaining nil guards to address inline, otherwise this 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.
Thanks for the revisions and your patience on this, @AustinSiu :)
/lgtm |
/assign @feiskyer |
138013d
to
f581524
Compare
@mwielgus @gjtempleton I've updated this change to handle the dependencies differently, does this address your concerns? |
… translation with field-setting
f581524
to
833c6fd
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.
Thanks for your persistence with this, great job.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AustinSiu, bwagner5, gjtempleton, jaypipes 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 |
Support attribute-based instance selection for AWS
Which component this PR applies to?
What type of PR is this?
/kind feature
What this PR does / why we need it:
Support attribute-based instance selection using instance requirements.
This PR updates aws-sdk-go from v1.38.49 to v1.42.25 in order to pick up instance requirements feature changes.
Which issue(s) this PR fixes:
Fixes #4479
Special notes for your reviewer:
Testing done using an ASG w/ pre-existing instances:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: