How can I use AWS EC2 g4dn instances for instance group in kops?

11/4/2019

I'm currently using kops 1.14.0 version installed from Homebrew on Mac OSX.

When I try to configure the instance group with the new GPU instance g4dn, I get a following error when I try to execute kops update cluster.

samplenodes.spec.machineType: Invalid value: "g4dn.2xlarge": machine type specified is invalid

I have seen in kops github that the issue has been already resolved and merged into master. However, even with kops 1.15.0-beta.1, the same issue still restricts me from utilizing g4dn instances.

Besides using the AWS EKS instead of kops, is there a way to build kops locally from the master branch of kops repo or any other specific configuration I can do to allow g4dn instance to pass the yaml validation?

-- Jung Hong Kim
amazon-web-services
kops
kubernetes

0 Answers