Skip to content

Commit

Permalink
Merge pull request eksctl-io#6743 from researchapps/add/hpc7g-node-ar…
Browse files Browse the repository at this point in the history
…m-support

Add/hpc7g node arm support
  • Loading branch information
cPu1 authored Jul 4, 2024
2 parents 80e0c8d + f95076b commit 231194c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkg/addons/assets/efa-device-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "beta.kubernetes.io/instance-type"
- key: "node.kubernetes.io/instance-type"
operator: In
values:
- c5n.18xlarge
Expand All @@ -62,6 +62,9 @@ spec:
- g6.24xlarge
- g6.48xlarge
- hpc6a.48xlarge
- hpc7g.16xlarge
- hpc7g.8xlarge
- hpc7g.4xlarge
- i3en.12xlarge
- i3en.24xlarge
- i3en.metal
Expand Down Expand Up @@ -124,6 +127,9 @@ spec:
- g6.24xlarge
- g6.48xlarge
- hpc6a.48xlarge
- hpc7g.16xlarge
- hpc7g.8xlarge
- hpc7g.4xlarge
- i3en.12xlarge
- i3en.24xlarge
- i3en.metal
Expand Down Expand Up @@ -175,3 +181,4 @@ spec:
- name: device-plugin
hostPath:
path: /var/lib/kubelet/device-plugins

1 change: 1 addition & 0 deletions pkg/utils/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func IsARMInstanceType(instanceType string) bool {
strings.HasPrefix(instanceType, "im4g") ||
strings.HasPrefix(instanceType, "is4g") ||
strings.HasPrefix(instanceType, "g5g") ||
strings.HasPrefix(instanceType, "hpc7g") ||
strings.HasPrefix(instanceType, "x2g")
}

Expand Down

0 comments on commit 231194c

Please sign in to comment.