fluxcd/flagger

Gradual Rollback

shivamnarula opened this issue · 0 comments

Describe the feature

What problem are you trying to solve?
Possibility of having gradual rollback when canary is at x% weight and instead of setting weight to 0.

Proposed solution

What do you want to happen? Add any considered drawbacks.
Instead of reverting canary back to 0 when rollback gate is passed. Decrease it by some fixed step like (10 or 15) or either follow the same stepweights while progressing. Example if stepWeights are [1,10,25,40,60,80] and rollback happens at 80 then shift traffic gradually in the same format as 80 --> 60 --> 40 --> 25 --> 10 --> 1 and then 0.

Any alternatives you've considered?

Haven't considered any alternative yet.
Is there another way to solve this problem that isn't as good a solution?