pulumi-eks icon indicating copy to clipboard operation
pulumi-eks copied to clipboard

Managed Node Group Launch Template Improvements

Open JustASquid opened this issue 1 year ago • 12 comments

Proposed changes

Add the ability to specify gpu/amiId/amiType on a managed node group, and specify disk size when a launch template is created.

This PR is a draft because I haven't been able to test the changes (yet) - any guidance on this is helpful, I don't have easy access to a spare AWS account where I can spin up test clusters.

Related issues (optional)

Resolves #1224

JustASquid avatar Jul 03 '24 03:07 JustASquid

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

github-actions[bot] avatar Jul 03 '24 03:07 github-actions[bot]

Thanks for contributing here! We indeed rely heavily on integration-level tests so an AWS testing account is needed to test the changes.

t0yv0 avatar Jul 03 '24 16:07 t0yv0

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

github-actions[bot] avatar Jul 03 '24 23:07 github-actions[bot]

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

github-actions[bot] avatar Jul 03 '24 23:07 github-actions[bot]

Yep @t0yv0 - Is testing something you're prepared to help with? I do have access to my company's AWS account, but spinning up cluster(s) is a pretty heavy operation so would love to avoid if possible.

JustASquid avatar Jul 03 '24 23:07 JustASquid

@JustASquid I can help with testing this. Do you want to have a first stab at creating a test?

flostadler avatar Jul 08 '24 13:07 flostadler

Cheers @flostadler - I just went on leave, should be able to take a stab at writing some tests in a couple weeks. Appreciate the help and guidance.

JustASquid avatar Jul 09 '24 12:07 JustASquid

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

github-actions[bot] avatar Aug 21 '24 22:08 github-actions[bot]

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

github-actions[bot] avatar Aug 23 '24 04:08 github-actions[bot]

@flostadler - I added the SDK generation and took a crack at adding some tests - surely they are missing something but hopefully it's a jumping off point.

JustASquid avatar Aug 23 '24 04:08 JustASquid

Thanks a lot @JustASquid! I left some comments, let me know if you need some help with any of the proposed changes

flostadler avatar Aug 23 '24 16:08 flostadler

@JustASquid I'm starting to touch the same parts of the code base as part of refactoring needed for https://github.com/pulumi/pulumi-eks/issues/1195. I'd propose that I fold your changes into that to prevent duplication/conflicts. What do you think about that?

flostadler avatar Aug 29 '24 07:08 flostadler

Closing this in favor of https://github.com/pulumi/pulumi-eks/issues/1195.

flostadler avatar Sep 09 '24 08:09 flostadler