Azure / Azure/AKS

[Feature] Extended Spot Interruption Notice (2 Minutes)

Open
#5,093 2 comments 35 reactions 2 assignees Claimed by @AllenWen-at-Azure View on GitHub
feature-request nodepools spot
Dominant language
TypeScript
Stars
2.1k
Forks
395
Avg merge
4d 15h
Merged PRs (30d)
14

Description

**Is your feature request related to a problem? Please describe.**
Yes. When using AKS with Spot nodes, the current interruption notice is only 30 seconds. This is often not enough time to gracefully drain pods, especially those with termination lifecycle hooks. This limitation results in disrupted services and failed jobs. By contrast, EKS provides a 2-minute interruption notice, which significantly improves reliability during Spot evictions.

**Describe the solution you'd like**
I would like AKS to increase the Spot instance interruption notice to 2 minutes, or as close to it as possible, to match the capability provided by EKS. This would allow applications running on Spot nodes more time to respond to evictions, improving workload stability and resilience.

**Describe alternatives you've considered**
Avoiding Spot nodes altogether, but this increases costs and reduces flexibility.
Overprovisioning to reduce impact, which reduces cost efficiency.
None of these approaches match the simplicity and effectiveness of a longer native eviction notice.

**Additional context**
AWS's 2-minute warning provides significantly more flexibility and aligns with best practices for draining and rescheduling workloads. Increasing the AKS notice would enhance parity across cloud providers and help users make better use of Spot capacity without compromising application reliability.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.