@@ -27,6 +27,8 @@ import (
27
27
)
28
28
29
29
// ManagedMachineAMIType specifies which AWS AMI to use for a managed MachinePool.
30
+ // Source of truth can be found using the link below:
31
+ // https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateNodegroup.html#AmazonEKS-CreateNodegroup-request-amiType
30
32
type ManagedMachineAMIType string
31
33
32
34
const (
@@ -36,10 +38,38 @@ const (
36
38
Al2x86_64GPU ManagedMachineAMIType = "AL2_x86_64_GPU"
37
39
// Al2Arm64 is the Arm AMI type.
38
40
Al2Arm64 ManagedMachineAMIType = "AL2_ARM_64"
41
+ // Custom is the custom AMI type.
42
+ Custom ManagedMachineAMIType = "CUSTOM"
43
+ // BottleRocketArm64 is the Arm AMI type.
44
+ BottleRocketArm64 ManagedMachineAMIType = "BOTTLEROCKET_ARM_64"
45
+ // BottleRocketx86_64 is the BottleRocket x86-64 AMI type.
46
+ BottleRocketx86_64 ManagedMachineAMIType = "BOTTLEROCKET_x86_64"
47
+ // BottleRocketArm64Fips is the BottleRocket Arm Fips AMI type.
48
+ BottleRocketArm64Fips ManagedMachineAMIType = "BOTTLEROCKET_ARM_64_FIPS"
49
+ // BottleRocketx86_64Fips is the BottleRocket x86-64 Fips AMI type.
50
+ BottleRocketx86_64Fips ManagedMachineAMIType = "BOTTLEROCKET_x86_64_FIPS"
51
+ // BottleRocketArm64Nvidia is the BottleRocket Arm Nvidia AMI type.
52
+ BottleRocketArm64Nvidia ManagedMachineAMIType = "BOTTLEROCKET_ARM_64_NVIDIA"
53
+ // BottleRocketx86_64Nvidia is the BottleRocket x86-64 Nvidia AMI type.
54
+ BottleRocketx86_64Nvidia ManagedMachineAMIType = "BOTTLEROCKET_x86_64_NVIDIA"
55
+ // WindowsCore2019x86_64 is the Windows Core 2019 x86-64 AMI type.
56
+ WindowsCore2019x86_64 ManagedMachineAMIType = "WINDOWS_CORE_2019_x86_64"
57
+ // WindowsFull2019x86_64 is the Windows Full 2019 x86-64 AMI type.
58
+ WindowsFull2019x86_64 ManagedMachineAMIType = "WINDOWS_FULL_2019_x86_64"
59
+ // WindowsCore2022x86_64 is the Windows Core 2022 x86-64 AMI type.
60
+ WindowsCore2022x86_64 ManagedMachineAMIType = "WINDOWS_CORE_2022_x86_64"
61
+ // WindowsFull2022x86_64 is the Windows Full 2022 x86-64 AMI type.
62
+ WindowsFull2022x86_64 ManagedMachineAMIType = "WINDOWS_FULL_2022_x86_64"
39
63
// Al2023x86_64 is the AL2023 x86-64 AMI type.
40
64
Al2023x86_64 ManagedMachineAMIType = "AL2023_x86_64_STANDARD"
41
65
// Al2023Arm64 is the AL2023 Arm AMI type.
42
66
Al2023Arm64 ManagedMachineAMIType = "AL2023_ARM_64_STANDARD"
67
+ // Al2023x86_64Neuron is the AL2023 x86-64 Neuron AMI type.
68
+ Al2023x86_64Neuron ManagedMachineAMIType = "AL2023_x86_64_NEURON"
69
+ // Al2023x86_64Nvidia is the AL2023 x86-64 Nvidia AMI type.
70
+ Al2023x86_64Nvidia ManagedMachineAMIType = "AL2023_x86_64_NVIDIA"
71
+ // Al2023Arm64Nvidia is the AL2023 Arm Nvidia AMI type.
72
+ Al2023Arm64Nvidia ManagedMachineAMIType = "AL2023_ARM_64_NVIDIA"
43
73
)
44
74
45
75
// ManagedMachinePoolCapacityType specifies the capacity type to be used for the managed MachinePool.
@@ -129,7 +159,7 @@ type AWSManagedMachinePoolSpec struct {
129
159
AMIVersion * string `json:"amiVersion,omitempty"`
130
160
131
161
// AMIType defines the AMI type
132
- // +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64;AL2023_x86_64_STANDARD;AL2023_ARM_64_STANDARD;CUSTOM
162
+ // +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64;CUSTOM;BOTTLEROCKET_ARM_64;BOTTLEROCKET_x86_64;BOTTLEROCKET_ARM_64_FIPS;BOTTLEROCKET_x86_64_FIPS;BOTTLEROCKET_ARM_64_NVIDIA;BOTTLEROCKET_x86_64_NVIDIA;WINDOWS_CORE_2019_x86_64;WINDOWS_FULL_2019_x86_64;WINDOWS_CORE_2022_x86_64;WINDOWS_FULL_2022_x86_64; AL2023_x86_64_STANDARD;AL2023_ARM_64_STANDARD;AL2023_x86_64_NEURON;AL2023_x86_64_NVIDIA;AL2023_ARM_64_NVIDIA
133
163
// +kubebuilder:default:=AL2_x86_64
134
164
// +optional
135
165
AMIType * ManagedMachineAMIType `json:"amiType,omitempty"`
0 commit comments