I am working on EKS Managed Node Groups using Terraform, I want to use Spot Node group as a priority & if only spot failover is there, On-demand NG should be used. And once there is available capacity in Spot NG, I want to use Spot NG back again.
I am able to implement 1st scenario of SPOT- ON-DEMAND But from ON-DEMAND to Spot, I am not sure how I can do it.
I am new to whole EKS CAS thing, please help me understand if there is any way. Thanks.