Skip to content

Commit 9a2d38f

Browse files
pavansokkenagarajAmitSahastra
authored andcommitted
add AL2023 AMI family support (#906)
1 parent 625fd4d commit 9a2d38f

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_awsmanagedmachinepools.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ spec:
6969
- AL2_ARM_64
7070
- AL2023_x86_64_STANDARD
7171
- AL2023_ARM_64_STANDARD
72+
- AL2023_x86_64_NVIDIA
73+
- AL2023_x86_64_NEURON
7274
- CUSTOM
7375
type: string
7476
amiVersion:

docs/book/src/crd/index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17109,6 +17109,18 @@ int64
1710917109
</tr><tr><td><p>&#34;AL2_x86_64_GPU&#34;</p></td>
1711017110
<td><p>Al2x86_64GPU is the x86-64 GPU AMI type.</p>
1711117111
</td>
17112+
<tr><td><p>&#34;AL2023_ARM_64_STANDARD&#34;</p></td>
17113+
<td><p>Al2023Arm64 is the AL2023 Arm AMI type.</p>
17114+
</td>
17115+
</tr><tr><td><p>&#34;AL2023_x86_64_STANDARD&#34;</p></td>
17116+
<td><p>Al2023x86_64 is the AL2023 x86 AMI type.</p>
17117+
</td>
17118+
</tr><tr><td><p>&#34;AL2023_x86_64_NVIDIA&#34;</p></td>
17119+
<td><p>Al2023x86_64GPU is the AL2023 x86-64 NVIDIA AMI type.</p>
17120+
</td>
17121+
</tr><tr><td><p>&#34;AL2023_x86_64_NEURON&#34;</p></td>
17122+
<td><p>Al2023x86_64Neuron is the AL2023 x86-64 NEURON AMI type.</p>
17123+
</td>
1711217124
</tr></tbody>
1711317125
</table>
1711417126
<h3 id="infrastructure.cluster.x-k8s.io/v1beta1.ManagedMachinePoolCapacityType">ManagedMachinePoolCapacityType

exp/api/v1beta1/awsmanagedmachinepool_types.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ const (
4040
Al2023x86_64 ManagedMachineAMIType = "AL2023_x86_64_STANDARD"
4141
// Al2023Arm64 is the AL2023 Arm AMI type.
4242
Al2023Arm64 ManagedMachineAMIType = "AL2023_ARM_64_STANDARD"
43+
// AL2023_x86_64_NVIDIA is the AL2023 x86-64 NVIDIA AMI type.
44+
Al2023x86_64Nvidia ManagedMachineAMIType = "AL2023_x86_64_NVIDIA"
45+
// AL2023_x86_64_NEURON is the AL2023 x86-64 NEURON AMI type.
46+
Al2023x86_64Neuron ManagedMachineAMIType = "AL2023_x86_64_NEURON"
4347
)
4448

4549
// ManagedMachinePoolCapacityType specifies the capacity type to be used for the managed MachinePool.
@@ -102,7 +106,7 @@ type AWSManagedMachinePoolSpec struct {
102106
AMIVersion *string `json:"amiVersion,omitempty"`
103107

104108
// AMIType defines the AMI type
105-
// +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64;AL2023_x86_64_STANDARD;AL2023_ARM_64_STANDARD;CUSTOM
109+
// +kubebuilder:validation:Enum:=AL2_x86_64;AL2_x86_64_GPU;AL2_ARM_64;AL2023_x86_64_STANDARD;AL2023_ARM_64_STANDARD;AL2023_x86_64_NVIDIA;AL2023_x86_64_NEURON;CUSTOM
106110
// +kubebuilder:default:=AL2_x86_64
107111
// +optional
108112
AMIType *ManagedMachineAMIType `json:"amiType,omitempty"`

0 commit comments

Comments
 (0)