October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

GKE Spot Evictions: How to Keep AI Workloads Resumable

GKE can recreate a Pod after Spot capacity is reclaimed, but only your workload can preserve its progress. Design AI jobs around durable checkpoints, safe retries, and recovery capacity.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Design GKE AI workloads so a reclaimed Spot node costs you a recoverable amount of work—not the entire run. That means persisting progress outside the node, making retries safe, and keeping enough non-Spot capacity available when a job must continue. A Kubernetes controller can recreate a Pod, but it cannot restore progress that existed only in the terminated process.

What happens when GKE reclaims Spot capacity?

Spot capacity is interruptible, not reserved. In a Standard cluster, Spot VMs are Compute Engine instances in node pools; in Autopilot, you request Spot Pods and Autopilot manages the Spot-backed capacity. Both modes can be interrupted, but their documented shutdown windows differ.

As an Amazon Associate I earn from qualifying purchases.

GKE mode Documented shutdown behavior What to design for
Standard cluster with Spot VMs Google Cloud documents a default 30-second graceful termination period after a preemption notice. See GKE Spot VM concepts. Treat 30 seconds as platform behavior, not a guarantee that your application can use every second to finish work.
Autopilot Spot Pods A preempted Pod can request a maximum 15-second grace period, granted on a best-effort basis. Google documents that the Pod receives SIGTERM and should shut down during its grace period. See GKE Autopilot Spot Pods. Make shutdown fast and safe, but rely on persisted progress for recovery rather than expecting shutdown to complete a long task.

Neither window is a promise that a training step, inference request, or batch unit will finish before termination. Google also warns that data on Spot nodes—including attached Local SSD data—is deleted when the instance is preempted. A managed workload controller may replace a Pod, but replacement does not recover its in-memory state or files on ephemeral node storage. See Google Cloud’s GKE Spot VM guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do you keep an AI job from starting over?

Persist durable state away from the Spot node

Store checkpoints, job metadata, and completed-work records in an external service or persistent storage with a recovery model suited to the workload. Do not use node-local files as the sole copy of a checkpoint or result. The right storage choice depends on checkpoint size, write frequency, consistency needs, and how the application resumes; Spot documentation establishes the node-data loss risk, not a universal storage design.

#1 Best Overall
MINISFORUM MS-02 Ultra Workstation Mini PC, Intel Core Ultra 9 285HX (24C/24T, up to 5.5GHz), PCIe 5.0 x16, 32GB RAM 1TB SSD,USB4 v2 80Gbps, Dual 25GbE+10GbE+2.5GbE, Wi-Fi 7, 350W PSU
  • High-Performance AI Processor:The MS-02 Ultra features an Intel Core Ultra 9 285HX (24C/24T, up to 5.5 GHz, 13 TOPS NPU), delivering fast and efficient performance for AI inference, algorithm development, and media workloads. A PCIe x16 expansion slot supports desktop-class GPU upgrades for advanced model training and accelerated computing tasks. It's ideal for creators, engineers, and teams handling intensive parallel workloads.
  • 4 × M.2 PCIe 4.0 + 4 × DDR5 SODIMM slots:Four DDR5 SODIMM slots support up to 256 GB of memory, while ECC helps maintain data integrity in mission-critical environments. Four PCIe 4.0 M.2 slots support up to 24 TB of storage, supporting RAID 0/1/5/10, combining high-speed performance with data protection. It allows for the creation of independent scratch disks, media libraries, and project drives, providing high-throughput for production workflows.
  • PCIe & USB 4.0 v2: Up to three PCIe slots can be equipped, including a dual-slot x16 GPU. The main slot supports PCIe 5.0, meeting the needs of high-bandwidth creative and computing workloads. USB 4.0 v2 (80Gbps) supports high-bandwidth external storage and displays.
  • Ultra-fast Networking: Wi-Fi 7 further enhances wireless performance with next-generation speeds and low-latency stability. Intelligent bandwidth switching optimizes throughput in different network environments, ensuring optimal performance for enterprise or local networks. Dual 25GbE ports (providing up to approximately 3.125 GB/s bandwidth, about 25 times faster than traditional 1GbE), enabling seamless large-scale file transfers and parallel computing. 10GbE and 2.5GbE ports, with support for Intel vPro technology, ensure enterprise-grade remote management and deployment flexibility.
  • Server-grade thermal architecture: Utilizing a dedicated CPU/GPU airflow design, equipped with a 6-pipe dual-fan cooler, it maintains stable performance even under sustained loads, delivering up to 140W Turbo power while maintaining a 100W TDP, and operating with noise levels as low as 36 dB. An integrated 350W power supply ensures stable and reliable output for demanding computing tasks and fully loaded extended configurations.

Checkpoint according to the cost of lost work

For training and long-running pipelines, choose a checkpoint interval by balancing the cost of recomputing work against the overhead of writing checkpoints. There is no universal interval: a frequent checkpoint reduces the possible replay window but consumes resources and can affect throughput. Make checkpoints usable after an abrupt process end; graceful shutdown may not leave enough time to write one.

Make retries idempotent

Record which work units have completed durably, and make it safe for a replacement Pod to retry a unit whose completion is uncertain. For example, a pipeline can commit an output and its completion record together, or assign work using stable identifiers so a retry can detect an already-finished unit. This is application-level design advice: Pod recreation does not itself prevent duplicate work or restore progress.

Use termination as an opportunity, not the recovery plan

On SIGTERM, stop accepting new work, finish or safely abandon in-flight work, flush essential state, and exit promptly. Keep the handler bounded by the usable grace period. A checkpoint that is still being written when the process is killed is not a recovery mechanism; resumable computation and durable external state must handle that case.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How should you place workloads across Spot and standard capacity?

Google recommends Spot for fault-tolerant, stateless, or batch workloads. If a workload must proceed even when Spot capacity is unavailable, Google recommends a mix of Spot and standard node pools. See GKE guidance for running workloads with Spot VMs.

  • Interruption tolerance: Can the workload resume or be recreated without compromising correctness?
  • Recovery cost: How much computation or user work is lost if a process ends before its next durable checkpoint?
  • Capacity assurance: Must the job continue when Spot capacity cannot be provisioned? Retain standard capacity options when the answer is yes.
  • State handling: Does durable progress live outside ephemeral node data?
  • Shutdown behavior: Can the process react to termination promptly within the applicable, best-effort window?
  • Operating mode: Is this a Standard Spot node pool or an Autopilot Spot Pod? The configuration model and documented grace period differ.

Use taints and tolerations to keep critical Pods off Spot pools when their interruption tolerance does not fit Spot capacity. GKE’s Spot VM documentation describes the Spot taint pattern and scheduling controls; follow the current instructions for your cluster version rather than copying a configuration without checking its applicability. See the GKE Spot VM setup guidance.

Do not assume that a StatefulSet is safe on Spot simply because it uses persistent volumes. Google advises testing that stateful workloads can terminate gracefully within 25 seconds to reduce the risk of persistent-volume corruption. Treat that as a test target in Google’s guidance, not proof that every workload or storage configuration is safe. See GKE Spot VM concepts.

Rank #2
GMKtec EVO-X2 AI Mini PC Ryzen Al Max+ 395 Superchip 128GB LPDDR5X 2TB SSD
  • EVOLUTION RYZEN AI MAX+ 395 MINI PC - GMKtec EVO-X2 is the next evolution in AI mini PC Ryzen Strix Halo series. Thanks to AMD Simultaneous Multithreading (SMT) the core-count is effectively doubled, to 32 threads. Ryzen AI Max+ 395 has 64 MB of L3 cache and can boost up to 5.1 GHz, depending on the workload. The Ryzen AI Max+ 395 is currently rated as the "most powerful x86 APU" on the market for AI computing.
  • AI NPU with XDNA 2 ARCHITECTURE - Powered by 16 “Zen 5” CPU cores, 50+ peak AI TOPS XDNA 2 NPU and a truly massive integrated GPU driven by 40 AMD RDNA 3.5 CUs, the Ryzen AI MAX+ 395 is a transformative upgrade and delivers a significant performance boost over the competition. The Ryzen AI Max+ 395 excels in consumer AI workloads like the llama.cpp-powered application: LM Studio. Shaping up to be the must-have app for client LLM workloads, LM Studio allows users to locally run the latest language model without any technical knowledge required and unleash their creativity and productivity.
  • AMD RADEON 8090S iGPU GAMING PC - The AMD Radeon RX 8060S offers all 40 CUs with up to 2.9 GHz graphics clock and uses the new RDNA 3.5 architecture. The powerful iGPU is positioned between an RTX 4060 and 4070 laptop GPU and therefore enables gaming in FHD at maximum details in most demanding games. The 8060S can also utilize the full 128GB pool, which is perfect for running LLMs such as Deepseek 70B Q8, which runs comfortably on this machine.
  • EIGHT CHANNEL LPDDR5X - LPDDR5X is a new ground breaking memory small form factor installed on-board. With blazing speeds up to to 8000MT/s, it runs 1.5x faster than the DDR5 SODIMMs; 90% better performance over DDR5 SODIMMs in video conferencing and photo editing; 30% better performance in productivity apps; 12% better performance in digital content workloads.
  • QUAD SCREEN 8K DISPLAY SUPPORT - EVO-X2 AI Mini PC support 4-screen 4K/8K output via HDMI 2.1 (8K@60Hz), DisplayPort 1.4 (4K@60Hz), and dual USB 4 40Gbps Transfer speed (supporting PD3.0/DP1.4/DATA). Ideal for gaming, video editing, and multitasking, it provides expansive and crisp multi-display support.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Can a PodDisruptionBudget stop a Spot eviction?

No. A PodDisruptionBudget (PDB) limits tolerated voluntary disruptions; it does not prevent an involuntary infrastructure reclamation. Google’s preemptible VM guidance explicitly says that involuntary reclamation is not covered by PDB protections. PDBs can still help protect availability during supported voluntary disruptions such as node upgrades or maintenance. See GKE preemptible VM guidance and GKE workload disruption readiness.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Readiness probes serve a different purpose: they inform health and routing decisions. They do not save process memory, preserve local files, or prevent a Spot reclaim. Use readiness alongside correct shutdown handling and externalized durable state, not as an eviction shield.

How can you tell whether a node was preempted?

Expected Spot or preemptible preemption may appear as a node briefly entering NotReady. For the underlying VM, Cloud Audit Logs can show the compute.instances.preempted event. GKE troubleshooting guidance says to investigate other causes if a node remains NotReady for more than 10 minutes. See GKE’s NotReady troubleshooting guide.

Keep infrastructure preemption distinct from autoscaler placement. GKE’s cluster autoscaler can favor less expensive Spot pools when workload constraints and available resources allow, making Pods on Spot more likely to be evicted. That scheduling choice is separate from Compute Engine reclaiming a Spot VM. See GKE cluster autoscaling.

What changes if you still use preemptible VMs?

Preemptible VMs are the legacy comparison, not the preferred starting point for a new fault-tolerant design; Google recommends the corresponding newer Spot VM or Spot Pod options. The documented preemption notice precedes shutdown, and the 30-second window is divided into best-effort time for non-system Pods followed by critical system Pods. Reclamation remains involuntary and outside PDB protection. See GKE’s preemptible VM instructions.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A practical recovery checklist

  1. Classify the workload: decide whether it can be interrupted, how much work it may lose, and whether it needs guaranteed continuation.
  2. Choose the GKE mode: identify whether you are using Standard Spot node pools or Autopilot Spot Pods, then apply the matching configuration and shutdown expectations from the relevant GKE documentation.
  3. Move recovery state off-node: ensure checkpoints and completion records survive node reclamation.
  4. Test interruption paths: verify that the process responds to SIGTERM, stops or drains work safely, and can resume from its last durable checkpoint after termination.
  5. Provide a capacity fallback when needed: use standard capacity options for jobs that must continue when Spot capacity is unavailable.
  6. Monitor and diagnose: correlate brief NotReady states and preemption audit events with application recovery behavior; investigate prolonged NotReady states separately.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.