Skip to content

Resume target scaler during finalization#1429

Merged
aryan9600 merged 1 commit intomainfrom
finalize-keda
May 17, 2023
Merged

Resume target scaler during finalization#1429
aryan9600 merged 1 commit intomainfrom
finalize-keda

Conversation

@aryan9600
Copy link
Copy Markdown
Member

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

Fixes #1422

@aryan9600 aryan9600 requested a review from stefanprodan as a code owner May 16, 2023 12:10
@codecov-commenter
Copy link
Copy Markdown

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
Copy Markdown
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