Quote from "s4 overload" incident doc:
Can deployment become more reliable? I don't mean avoiding the original issue, that's something that always can happen, but there seems to be not the first time bad code gets deployed that is automatically detected (good), but rollback either takes too much time or crashes/doesn't complete
In this incident, rollback failed and had to be repeatedly re-attempted, causing a longer time to respond. Causes included
- too many old pods unhealthy so rollback didn't complete
- unhealthy pods caused attempted reverts to roll back to the latest bad version of the code that caused the initial overload
- scap needed repeated runs to revert the image
This task probably needs more detail as the overall goal is vague.