-
Notifications
You must be signed in to change notification settings - Fork 631
✨ Implement AWSMachinePools #1860
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 AWSMachinePools #1860
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
I signed it |
/check-cla |
/retitle ✨ Implement AWSMachinePools |
ef921e7
to
671662d
Compare
/retest |
Should this be an experimental/feature-flag feature? I don't think we have any right now, but it is in CAPZ and CAPI. |
For anyone looking to kick the tires on this, this is a decent starting manifest: https://gist.github.com/benmoss/db4ede41d2b767095aa6ab8b381bcb50 |
hey 👋 , we have a tagging and subnet update PR ready to open once this lands. We didn't want to muddy the waters. Just a heads up you can see them here: newrelic-forks#55 newrelic-forks#56 |
-cracks knuckles- ok, linter, you wanna play? |
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.
Mostly lgtm
a48015e
to
a22a546
Compare
Ah, linting failure. Does the |
Running |
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 @mytunguyen 👍 . Some minor comments....will take another pass through later
exp/api/v1alpha3/types.go
Outdated
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.
Be good to have the descriptions/validation comments here as well. On the types in this file.
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.
sweet. i updated the descriptions and added validations where I thought made sense. let me know if i missed something!
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 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.
Do we need to filter the events if paused?
de75105
to
6461db7
Compare
631cec3
to
66229cb
Compare
exp/api/v1alpha3/types.go
Outdated
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.
// +kubebuilder:validation:Enum=standard;io1;gp2;st1;sc1 | |
// +kubebuilder:validation:Enum=standard;io1;io2;gp2;st1;sc1 |
Nit: io2 was added since the start of this PR. Can do as follow up
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.
Honestly I'm not even using EBS with our machinepools/ASG's. I think this struct fell here on day 1 while I was listing out "what might we need in the future". I can definitely delete it for now if that helps?
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.
Either add io2 now, or I can PR it next. Don't delete the validation though.
I think if we can resolve the choice of strings versus aliased string type in the API, the other issues we can deal with as follow ups. |
e6efead
to
04fc665
Compare
CRDs need updating, as well as 3 linter issues need addressing. |
059f772
to
7910325
Compare
If this is good to go, let's squash the "fix" commits, and can approve in the morning UK time. |
7910325
to
5b2e4d9
Compare
Co-authored-by: Nicole Yson <[email protected]> Co-authored-by: Andrew Rudoi <[email protected]> Co-authored-by: mnguyen <[email protected]> Co-authored-by: Naadir Jeewa <[email protected]>
5b2e4d9
to
f05273a
Compare
A few minor items that could be covered in the follow-up /lgtm |
Follow ups to do in #1968 /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: randomvariable 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 |
What this PR does / why we need it:
This PR implements machine pools for CAPA using AWS Auto Scaling Groups. In this PR, an /exp path is added similar to CAPI to be the home for the AWSMachinePool API and controller.
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 #1784