Azure Kubernetes Service introduces complexity when attempting to assign pod to Virtual Machines with SPOT configuration (Discounted VMs). AKS requires pods to have a toleration in their .yaml configuration to scheudle that pod into spot VMs. In this section we will understand how we can use Ocean admission controller to automatically inject the required toleration into any deployment you require. (Helm charts and other deployment is also supported)
Review the Micorosft documentation regarding the nessesary tolerations here.
spot.io/inject-aks-spot-toleration: "true" only then the admission controller will inject toleration into the pods