Skip to content

Commit 4858dbb

Browse files
authored
Add ARM support and fix AMI resolution for Ubuntu (#4367)
1 parent 0a85540 commit 4858dbb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

integration/tests/managed/managed_nodegroup_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ var _ = Describe("(Integration) Create Managed Nodegroups", func() {
118118
},
119119
}),
120120

121-
PEntry("Ubuntu", &api.ManagedNodeGroup{
121+
Entry("Ubuntu", &api.ManagedNodeGroup{
122122
NodeGroupBase: &api.NodeGroupBase{
123123
Name: "ubuntu",
124124
VolumeSize: aws.Int(25),

pkg/ami/auto_resolver.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ func MakeImageSearchPatterns(version string) map[string]map[int]string {
2626
ImageClassARM: fmt.Sprintf("amazon-eks-arm64-node-%s-*", version),
2727
},
2828
api.NodeImageFamilyUbuntu2004: {
29-
ImageClassGeneral: fmt.Sprintf("ubuntu-eks/k8s_%s/images/*20.04*", version),
29+
ImageClassGeneral: fmt.Sprintf("ubuntu-eks/k8s_%s/images/*20.04-amd64*", version),
30+
ImageClassARM: fmt.Sprintf("ubuntu-eks/k8s_%s/images/*20.04-arm64*", version),
3031
},
3132
api.NodeImageFamilyUbuntu1804: {
3233
ImageClassGeneral: fmt.Sprintf("ubuntu-eks/k8s_%s/images/*18.04*", version),

0 commit comments

Comments
 (0)