Skip to content
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

[aws-eks] Add Bottlerocket support for aws-eks #7268

Closed
1 of 2 tasks
pahud opened this issue Apr 9, 2020 · 1 comment · Fixed by #7282
Closed
1 of 2 tasks

[aws-eks] Add Bottlerocket support for aws-eks #7268

pahud opened this issue Apr 9, 2020 · 1 comment · Fixed by #7282
Assignees
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service feature-request A feature should be added or improved.

Comments

@pahud
Copy link
Contributor

pahud commented Apr 9, 2020

Bottlerocket is currently in public preview stage but already supports Amazon EKS with Kubernetes 1.15. Would be great if we can support it in the aws-eks construct.

Use Case

To make Bottlerocket setup easier for AWS CDK users.

Proposed Solution

At this moment, Amazon EKS managed nodegroup only supports Amazon Linux. The only option would be unmanaged nodegroups. We can enable the Bottlerocket support by specifying the AMI from the provided SSM path or simply just create a new enum for the capacityOptions.

machineImageType?: EksMachineImageType in the capacityOptions

for example

new eks.Cluster(scope ,id, { machineImageType: EksMachineImageType.BOTTLEROCKET });

If specified, we get the latest Bottlerocket AMI and assign to the machineImage property for the AutoScalingGroup under the hood. Otherwise, the default Amazon Linux will be selected.

machineImage: new EksOptimizedImage({

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

@pahud pahud added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Apr 9, 2020
@pahud
Copy link
Contributor Author

pahud commented Apr 9, 2020

copy @eladb

@SomayaB SomayaB added in-progress This issue is being actively worked on. @aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service labels Apr 11, 2020
@SomayaB SomayaB removed the needs-triage This issue or PR still needs to be triaged. label Apr 11, 2020
@mergify mergify bot closed this as completed in #7282 Apr 12, 2020
@iliapolo iliapolo changed the title Add Bottlerocket support for aws-eks [aws-eks] Add Bottlerocket support for aws-eks Aug 16, 2020
@iliapolo iliapolo removed the in-progress This issue is being actively worked on. label Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service feature-request A feature should be added or improved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants