-
Notifications
You must be signed in to change notification settings - Fork 614
✨ Add DefaultInstanceWarmup
field to AWSMachineDeployment
spec
#4760
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 DefaultInstanceWarmup
field to AWSMachineDeployment
spec
#4760
Conversation
Hi @mnitchev. 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 |
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
Probably we can run E2E tests once it's confirmed that they're working again (I have trouble with them in other PRs; chat).
@@ -76,6 +76,13 @@ type AWSMachinePoolSpec struct { | |||
// +optional | |||
DefaultCoolDown metav1.Duration `json:"defaultCoolDown,omitempty"` | |||
|
|||
// The amount of time, in seconds, until a new instance is considered to |
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.
Its not required to add it in v1beta1 API, we have to fix the failing fuzz tests, PTAL at some other pRs where we are adding a new field and handling the tests.
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've removed it and fixed the test. Can you please check if I did it correctly?
aa4370f
to
98cef34
Compare
/test pull-cluster-api-provider-aws-e2e |
/hold @mnitchev feel free to unhold when tests passes |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
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
Let's try again /test pull-cluster-api-provider-aws-e2e-eks |
@Ankitasw Do you have an idea why the EKS test might be failing, or how to investigate it (such as, getting CAPA logs for the failed test case)? This change shouldn't have an effect on EKS, I guess, and it seems working with EKS in our fork. |
I think the failure is unrelated to this PR, its failing in the CI from 2 3 days. |
Controller logs can be checked here: https://gcsweb.k8s.io/gcs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api-provider-aws/4760/pull-cluster-api-provider-aws-e2e-eks/1752784413621489664/artifacts/clusters/bootstrap/controllers/ |
/test pull-cluster-api-provider-aws-e2e-eks |
Thanks! Everything looks good now |
/unhold |
/retest |
What type of PR is this?
/kind feature
What this PR does / why we need it:
There already is an exposed option for
RestartInstanceRefresh
, so it makes sense to have one setting the default instance warmup onCreateAutoScalingGroup
, similar to theDefaultCoolDown
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):N/A
Special notes for your reviewer:
I wasn't sure if it should be added to both v1beta1 and v1beta2, but the fuzzing tests fail if it isn't in both.
Checklist:
Release note: