[aws-eks] Add Bottlerocket support for aws-eks #7268
Labels
@aws-cdk/aws-eks
Related to Amazon Elastic Kubernetes Service
feature-request
A feature should be added or improved.
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 capacityOptionsfor example
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.aws-cdk/packages/@aws-cdk/aws-eks/lib/cluster.ts
Line 476 in 23279fa
Other
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: