The K8s Spot Termination handler watches the AWS metadata service when running on Spot Instances.
When a Spot Instance is due to be terminated, precisely 2 minutes before it’s termination a “termination notice” is issued. The K8s Spot Termination Handler watches for this and then gracefully drains the node it is running on before the node is taken away by AWS.
Tell us about a new Kubernetes application
Never miss a thing! Sign up for our newsletter to stay updated.
Discover and learn about everything Kubernetes