aws-quickstart / cdk-eks-blueprints

AWS Quick Start Team
Apache License 2.0
446 stars 198 forks source link

KarpenterAddOn support for AMI Family #412

Closed rstrazza closed 2 years ago

rstrazza commented 2 years ago

Describe the feature

Configure the KarpenterAddOn using 'amiFamily': 'Bottlerocket' like described in the aws karpenter provisioner example:

apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: default
spec:
  provider:
    amiFamily: Bottlerocket
    subnetSelector:
      karpenter.sh/discovery: "${CLUSTER_NAME}" # replace with your cluster name
    securityGroupSelector:
      karpenter.sh/discovery: "${CLUSTER_NAME}" # replace with your cluster name

After looking at the quistart addon documentation and the code it's my impression that the cdk-eks-blueprints does not support this configuration, but I'm new to it and might be missing something obvious.

Use Case

Provisioning a MngClusterProvider using amiType: NodegroupAmiType.BOTTLEROCKET_X86_64 and would also like to configure the KarpenterAddOn to use amiFamily: Bottlerocket

Proposed Solution

No response

Other Information

No response

Acknowledgements

CDK version used

2.25.0 (build ae1cb4b)

EKS Blueprints Version

No response

Node.js Version

v18.2.0

Environment details (OS name and version, etc.)

macOS Monterey

youngjeong46 commented 2 years ago

@rstrazza this will be part of the next PR to update the Karpenter Addon