flagger icon indicating copy to clipboard operation
flagger copied to clipboard

Fast-tracked rollbacks with rollbackWindow

Open vladorf opened this issue 1 year ago • 0 comments

Describe the feature

This feature aims to improve rollback workflow after successful release is already done.

Aim is to circumvent analysis step and go straight for promotion, in case new candidate is revert of previous deploy. In these usually emergency cases, time is of essence and revert to previous version should be as fast as possible.

Currently, the only solution seems to be one-off use of skipAnalysis as outlined in https://github.com/fluxcd/flagger/issues/616. While it would be possible to automize it with use of 3rd party controller, it is not quite the out-of-box solution as Argo Rollout rollbackWindows

Proposed solution

Implement logic akin to https://argo-rollouts.readthedocs.io/en/stable/features/rollback/

Any alternatives you've considered?

  • Running custom controller managing skipAnalysis field

Thanks for reading and please let me know, if you would be interested in PR implementing this feature.

vladorf avatar Apr 16 '25 13:04 vladorf