InterruptionKind

A provider’s warning that it is taking a node back. Detected by the WORKER (the instance is the only place the provider’s metadata service is reachable from — EC2’s IMDS at 169.254.169.254) and relayed by the Manager to AutoManager as NodeInterruptionNotice, which drains the node. SPOT_INTERRUPTION — the terminal warning: the instance stops at deadline (EC2 gives two minutes). REBALANCE_RECOMMENDATION — the capacity is at elevated risk; no time attached, usually followed by the interruption itself. UNSPECIFIED is the zero value so an unset kind is never mistaken for a real notice.

Name

Number

Description

INTERRUPTION_UNSPECIFIED

0

SPOT_INTERRUPTION

1

REBALANCE_RECOMMENDATION

2