Spot-OnDemand instance switch in AWS

I have a Kubernetes application having approx. 90-95 pods. I want to use SPOT for cost efficiency in AWS and want to design the deployment such a way, that when SPOT instance is available it will switch to SPOT and when SPOT is not available, will switch back to OnDemand and that should happen automatically without manual intervention.