I'm using the combination of spot and on-demand instance type in the inEKS Managed Node group to optimize the cost. The documentation https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html says a managed node group with ASG can either contain only On-Demand or only Amazon EC2 Spot Instances. However, the management console does show option to set the combination. So I was wondering if there is any way to set mix of instance types using the module, I tried with passing multiple CapacityType to --node-labels in bootstrap_Extra_args but that is not working.
Description
I'm using the combination of spot and on-demand instance type in the inEKS Managed Node group to optimize the cost. The documentation https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html says a managed node group with ASG can either contain only On-Demand or only Amazon EC2 Spot Instances. However, the management console does show option to set the combination. So I was wondering if there is any way to set mix of instance types using the module, I tried with passing multiple CapacityType to --node-labels in bootstrap_Extra_args but that is not working.
Any help is really appreciated!