-
Notifications
You must be signed in to change notification settings - Fork 579
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
✨ Add support for DefaultCooldown to AWSMachinePool #2006
✨ Add support for DefaultCooldown to AWSMachinePool #2006
Conversation
Welcome @arghya88! |
Hi @arghya88. 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 |
09e7e64
to
102936b
Compare
a1014a4
to
570e6ed
Compare
9792eb0
to
661ec69
Compare
661ec69
to
41c5cf8
Compare
41c5cf8
to
07f0615
Compare
/retest |
07f0615
to
90992df
Compare
@randomvariable what do you think of this in it's current state? Let me know if any change is required like moving the defaulting to controller instead of relying on kubebuilder. |
@richardcase as I can see there is no webhook for |
Good point @arghya88....i'd missed that, sorry. I think we should create the webhooks for AWSMachinePool and do this Duration check along with other validation checks for AWSMachinePool. But perhaps we should create a separate issue for adding the webhooks for AWSMachinePool? What do you think @randomvariable ? |
1fa5b34
to
9668869
Compare
47d4dfd
to
47cc284
Compare
@richardcase I am getting this error
|
You will need to add the license header to the new webhook file. For example see this |
Any new files need to have the license comment in them. |
47cc284
to
f6cecf2
Compare
Got it. Thanks for the guidance. |
/retest |
f6cecf2
to
ba73d6d
Compare
@randomvariable I have done below changes. PTAL
cc @richardcase |
/assign @davidewatson |
Seems ok to me /lgtm |
/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:
Add support for configuring cooldowns https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html to AWSMachinePool
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 #1987