-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fast-track rollback on Canary doesn't quite skip stages #2939
Comments
We bumped into this issue as well, from the docs,
BUT the bug is that it still doing all the step and trigger pods scale up all over again :/ |
Resolve argoproj#2939 Signed-off-by: Andy Chen <[email protected]>
Resolve argoproj#2939 Signed-off-by: Andy Chen <[email protected]>
Resolve argoproj#2939 Signed-off-by: Andy Chen <[email protected]>
Resolve argoproj#2939 Signed-off-by: Andy Chen <[email protected]>
Just to add a bit more context rollbackWindow does seem to work properly pre this PR, this PR fixes and edge case when you do a rollback within the scaleDownDelaySeconds period. A workaround would be to abort instead of rollback because your still in the "rollout" |
…ollbackWindow (#2953) * fix(canary): skip steps when in rollback window and rs is still active Resolve #2939 Signed-off-by: Andy Chen <[email protected]> * test(canary): add case where rollback when in window and rs is still active Signed-off-by: Andy Chen <[email protected]> * test(replicaset): add test case for IsActive function Signed-off-by: Andy Chen <[email protected]> --------- Signed-off-by: Andy Chen <[email protected]> Co-authored-by: Yohan Belval <[email protected]> Co-authored-by: zachaller <[email protected]>
…ollbackWindow (#2953) * fix(canary): skip steps when in rollback window and rs is still active Resolve #2939 Signed-off-by: Andy Chen <[email protected]> * test(canary): add case where rollback when in window and rs is still active Signed-off-by: Andy Chen <[email protected]> * test(replicaset): add test case for IsActive function Signed-off-by: Andy Chen <[email protected]> --------- Signed-off-by: Andy Chen <[email protected]> Co-authored-by: Yohan Belval <[email protected]> Co-authored-by: zachaller <[email protected]>
Describe the bug
When using a combination of
scaleDownDelaySeconds
androllbackWindow
to allow some time to perform a "fast-track" rollback, the Canary rollback still scales according to the steps/weights. Instead of just skipping the steps all together (expected behavior), it seems to perform thesetWeight
steps rapidly, without pausing.To Reproduce
Here's a repo with the required app and steps to reproduce the bug.
Expected behavior
When performing a "fast-track" rollback, I would expected the
n-1
revision to stay stable and not scale down/up.Screenshots
Version
1.5.1
Logs
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: