docker-archive / deploykit

A toolkit for creating and managing declarative, self-healing infrastructure.
Apache License 2.0
2.25k stars 262 forks source link

Update group rolling update polices #867

Closed kaufers closed 6 years ago

kaufers commented 6 years ago

Today, there are different options for how to handle the current VM when doing a rolling update (for example, destroy never and destroy last). Instead of supporting these polices, we should always process the current node last.

On a rolling update, the configured flavor's Drain is invoked and then the configured instance plugin's Destroy is invoked. For the current VM we only want to invoke Drain because we do not want to actually destroy the VM that is acting as the Infrakit leader.