NodegroupAmiType
- class aws_cdk.aws_eks.NodegroupAmiType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
The AMI type for your node group.
GPU instance types should use the
AL2_x86_64_GPU
AMI type, which uses the Amazon EKS-optimized Linux AMI with GPU support or theBOTTLEROCKET_ARM_64_NVIDIA
orBOTTLEROCKET_X86_64_NVIDIA
AMI types, which uses the Amazon EKS-optimized Linux AMI with Nvidia-GPU support.Non-GPU instances should use the
AL2_x86_64
AMI type, which uses the Amazon EKS-optimized Linux AMI.- ExampleMetadata:
infused
Example:
# cluster: eks.Cluster cluster.add_nodegroup_capacity("BottlerocketNvidiaNG", ami_type=eks.NodegroupAmiType.BOTTLEROCKET_X86_64_NVIDIA, instance_types=[ec2.InstanceType("g4dn.xlarge")] )
Attributes
- AL2023_ARM_64_STANDARD
Amazon Linux 2023 (ARM-64).
- AL2023_X86_64_STANDARD
Amazon Linux 2023 (x86-64).
- AL2_ARM_64
Amazon Linux 2 (ARM-64).
- AL2_X86_64
Amazon Linux 2 (x86-64).
- AL2_X86_64_GPU
Amazon Linux 2 with GPU support.
- BOTTLEROCKET_ARM_64
Bottlerocket Linux (ARM-64).
- BOTTLEROCKET_ARM_64_NVIDIA
Bottlerocket Linux with Nvidia-GPU support (ARM-64).
- BOTTLEROCKET_X86_64
Bottlerocket (x86-64).
- BOTTLEROCKET_X86_64_NVIDIA
Bottlerocket with Nvidia-GPU support (x86-64).
- WINDOWS_CORE_2019_X86_64
Windows Core 2019 (x86-64).
- WINDOWS_CORE_2022_X86_64
Windows Core 2022 (x86-64).
- WINDOWS_FULL_2019_X86_64
Windows Full 2019 (x86-64).
- WINDOWS_FULL_2022_X86_64
Windows Full 2022 (x86-64).