Skip to content
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

BlueGreen doesn't scale down previously active replica after a rollback #3242

Closed
samuelbaena opened this issue Dec 11, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@samuelbaena
Copy link

samuelbaena commented Dec 11, 2023

Describe the bug

After performing a rollback in Argo Rollouts, I would expect the previously active replica to downscale to 0 once the autoPromotionSeconds, scaleDownDelaySeconds as well as any analysis time happens, this is not true as both the rollbacked version and the until then active/stable one remains

To Reproduce

blueGreen:
      abortScaleDownDelaySeconds: 30
      activeMetadata:
        labels:
          role: active
      activeService: demo-test
      autoPromotionEnabled: true
      autoPromotionSeconds: 30
      previewMetadata:
        labels:
          role: preview
      previewReplicaCount: 1
      previewService: demo-preview
      scaleDownDelaySeconds: 30
  1. Deploy normally
  2. Rollback to previous version

Expected behavior

The previously Active replica is downscaled.

Screenshots

image

Version

v1.6.0


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@samuelbaena samuelbaena added the bug Something isn't working label Dec 11, 2023
@samuelbaena
Copy link
Author

The team figured out that we were affected by this issue
Bumping sorted it

@samuelbaena
Copy link
Author

Worked once, broke once. Difficult to identify a pattern on which times it happens, but it has happened again with 1.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant