diff --git a/pkg/addons/assets/efa-device-plugin.yaml b/pkg/addons/assets/efa-device-plugin.yaml index 657a74bd27..7227d5ff62 100644 --- a/pkg/addons/assets/efa-device-plugin.yaml +++ b/pkg/addons/assets/efa-device-plugin.yaml @@ -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 @@ -62,6 +62,9 @@ spec: - g6.24xlarge - g6.48xlarge - hpc6a.48xlarge + - hpc7g.16xlarge + - hpc7g.8xlarge + - hpc7g.4xlarge - i3en.12xlarge - i3en.24xlarge - i3en.metal @@ -124,6 +127,9 @@ spec: - g6.24xlarge - g6.48xlarge - hpc6a.48xlarge + - hpc7g.16xlarge + - hpc7g.8xlarge + - hpc7g.4xlarge - i3en.12xlarge - i3en.24xlarge - i3en.metal @@ -175,3 +181,4 @@ spec: - name: device-plugin hostPath: path: /var/lib/kubelet/device-plugins + diff --git a/pkg/utils/instance/instance.go b/pkg/utils/instance/instance.go index 024012bb3a..3d6c540274 100644 --- a/pkg/utils/instance/instance.go +++ b/pkg/utils/instance/instance.go @@ -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") }