https://pulumi.com logo
Title
b

bitter-toddler-22112

10/06/2020, 8:25 AM
Hi guys, asked this already in general, but maybe here is a better chance to get an answer :) When creating an eks node group with spot instances, will it be possible to give multiple instance types (like with KOPS the mixedInstancesPolicy)? In the docs the value is named "instanceTypes" (plural), but the description says it will only accept a single value.
b

billowy-army-68599

10/06/2020, 4:52 PM
you can do it, but the object is on the
autoScalingGroup
property, so you'd need to: - define an autoscaling group with a mixed instance policy - define a launch template with some userdata that joins the cluster, see here for more details: https://aws.amazon.com/premiumsupport/knowledge-center/eks-worker-nodes-cluster/