[Feature] Pod Eviction on Freeze and reboot
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.
If there are any specific use cases you would like addressed as part of this feature, please add comments to this issue
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.
Duplicate or Refer: https://github.com/Azure/AKS/issues/3719
Good day! Could you please let me know the expected timeline for the fix to be ready for release?
Should be in public preview in the next week or so...
This feature is now in Public Preview.
You can find out more about the feature and how to enable it in our docs
Thanks for providing this feature! We have tried using it, but seemingly our terminationGracePeriodSeconds are not being respected, leading to reduced stability of workloads in our clusters when this feature is enabled. See #6039.