cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

AWSManagedMachinePool - Launch Template support

Open richardchen331 opened this issue 3 years ago • 62 comments

What type of PR is this? /kind feature

What this PR does / why we need it: Add launch template support to AWSManagedMachinePool.

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 #2055

Special notes for your reviewer:

Checklist:

  • [ ] squashed commits
  • [ ] includes documentation
  • [ ] adds unit tests
  • [ ] adds or updates e2e tests

Release note:

Add launch template support to `AWSManagedMachinePool`.

richardchen331 avatar Jan 22 '22 17:01 richardchen331

@richardchen331: This issue is currently awaiting triage.

If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

k8s-ci-robot avatar Jan 22 '22 17:01 k8s-ci-robot

Hi @richardchen331. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

k8s-ci-robot avatar Jan 22 '22 17:01 k8s-ci-robot

/ok-to-test

richardcase avatar Jan 22 '22 19:01 richardcase

/retest

richardchen331 avatar Jan 23 '22 00:01 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Jan 23 '22 01:01 richardchen331

@richardchen331 @richardcase is this implementation in line with https://github.com/kubernetes-sigs/cluster-api-provider-aws/pull/3024?

sedefsavas avatar Jan 23 '22 07:01 sedefsavas

@richardchen331 @richardcase is this implementation in line with #3024?

@sedefsavas - i need to update the proposal based on a chat that i had with @richardchen331. We decided on a way forward to unblock development. If after the proposal has been updated and changes are needed we can go back and refactor. I will check the proposal updated by EOD Wednesday.

richardcase avatar Jan 24 '22 08:01 richardcase

Given that this is an important feature and changes the way we interact with AWSManagedMachinePool, we would want to have this in e2e tests and there is already a proposal out but would be good to update existing docs.

sedefsavas avatar Feb 09 '22 23:02 sedefsavas

Given that this is an important feature and changes the way we interact with AWSManagedMachinePool, we would want to have this in e2e tests and there is already a proposal out but would be good to update existing docs.

Agree on adding this to the e2e tests for eks. This is covered in the updated proposal. @richardchen331 i can guide you through this if you want?

richardcase avatar Feb 10 '22 09:02 richardcase

Given that this is an important feature and changes the way we interact with AWSManagedMachinePool, we would want to have this in e2e tests and there is already a proposal out but would be good to update existing docs.

Agree on adding this to the e2e tests for eks. This is covered in the updated proposal. @richardchen331 i can guide you through this if you want?

@richardcase Agree that we should have e2e tests for it. It would be great if you could guide me on how to add e2e tests for eks :)

richardchen331 avatar Feb 14 '22 05:02 richardchen331

Agree that we should have e2e tests for it. It would be great if you could guide me on how to add e2e tests for eks :)

I'll ping you in slack and we can arrange a zoom session

richardcase avatar Feb 14 '22 13:02 richardcase

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 18 '22 20:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 18 '22 22:02 richardchen331

I was just reviewing this PR 😀 As you have created a new test flavor, it should be added to files section in https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/test/e2e/data/e2e_eks_conf.yaml#L179-L207.

pydctw avatar Feb 18 '22 23:02 pydctw

I was just reviewing this PR 😀 As you have created a new test flavor, it should be added to files section in https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/test/e2e/data/e2e_eks_conf.yaml#L179-L207.

@pydctw Thank you! Just updated the conf and i'll retry the test again :)

richardchen331 avatar Feb 18 '22 23:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 18 '22 23:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 19 '22 01:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 26 '22 01:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 26 '22 20:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 27 '22 00:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 27 '22 02:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 27 '22 07:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 28 '22 06:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 28 '22 06:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Feb 28 '22 07:02 richardchen331

Hi @richardcase @sedefsavas , I added e2e test for this change. Could you help review it again? Thanks!

richardchen331 avatar Feb 28 '22 18:02 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Mar 16 '22 05:03 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Mar 17 '22 22:03 richardchen331

/test pull-cluster-api-provider-aws-e2e-eks

richardchen331 avatar Mar 17 '22 22:03 richardchen331

Is this ready for another round of reviews?

sedefsavas avatar Mar 29 '22 04:03 sedefsavas