Spot instances dissappearing??
I started a spot instance twice and after a while its just gone??
1 Reply
Isn't that just normal spot instance behavior? That is the reason they are so cheap. From the docs:
On-Demand Pods can run forever without interruptions with resources dedicated to your Pod. They do incur higher costs than Spot Pods.
Spot Pods use spare compute capacity, allowing you to bid for those compute resources. Resources are dedicated to your Pod, but someone else can bid higher or start an On-Demand Pod that will stop your Pod. When this happens, your Pod is given a signal to stop 5 seconds prior with SIGTERM, and eventually, the kill signal SIGKILL after 5 seconds. You can use volumes to save any data to the disk in that 5s period or push data to the cloud periodically.