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

Resume target scaler during finalization #1429

Merged
merged 1 commit into from
May 17, 2023
Merged

Resume target scaler during finalization #1429

merged 1 commit into from
May 17, 2023

Conversation

aryan9600
Copy link
Member

Resume target scaler during finalization so that targetRef deployment does not get stuck at 0 replicas after canary has been deleted.

Fixes #1422

@codecov-commenter
Copy link

codecov-commenter commented May 16, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.10 ⚠️

Comparison is base (1e5d83a) 54.67% compared to head (25754a3) 54.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1429      +/-   ##
==========================================
- Coverage   54.67%   54.57%   -0.10%     
==========================================
  Files          84       84              
  Lines       10114    10132      +18     
==========================================
  Hits         5530     5530              
- Misses       3929     3947      +18     
  Partials      655      655              
Impacted Files Coverage Δ
pkg/controller/finalizer.go 32.03% <0.00%> (-5.25%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @aryan9600

Resume target scaler during finalization so that targetRef deployment
does not get stuck at 0 replicas after canary has been deleted.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After deleting the Canary, the deployment replicas cannot be recovered.
3 participants