Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.95k stars 304 forks source link

[Feature] Pod Eviction on Freeze and reboot #3463

Open allyford opened 1 year ago

allyford commented 1 year ago

When a VM scheduled maintenance freeze event occurs, we currently do nothing to mitigate the effects. The Evict on Freeze feature would allow customers who are negatively impacted by freezes to mark pods as "safe-to-drain". These "safe-to-drain" pods would be evicted from the node before the freeze event starts and replacement pods would be scheduled on unaffected nodes.

aritraghosh commented 4 months ago

If there are any specific use cases you would like addressed as part of this feature, please add comments to this issue

zioproto commented 4 months ago

It would be great to have this feature to mitigate the loss of VMs in Spot node pools. In addition to Freeze and Reboot it would be great to start evicting Pods gracefully as soon as possible when receiving a Preempt event. List of EventType is available here.

ashwajce commented 3 months ago

Duplicate or Refer: https://github.com/Azure/AKS/issues/3719