-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: Implement graceful shutdown in application-controller #19465
feat: Implement graceful shutdown in application-controller #19465
Conversation
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #19465 +/- ##
==========================================
+ Coverage 52.86% 55.87% +3.01%
==========================================
Files 315 315
Lines 43645 43654 +9
==========================================
+ Hits 23073 24392 +1319
+ Misses 18025 16708 -1317
- Partials 2547 2554 +7 ☔ View full report in Codecov by Sentry. |
cmd/argocd-application-controller/commands/argocd_application_controller.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: leehosu <hosu4549@gmail.com>
…thub.com/leehosu/argo-cd into feat/config-graceful-shutdown-controller
Signed-off-by: leehosu <hosu4549@gmail.com>
…-controller-simplify simplify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @leehosu!
…#19465) * Implement graceful shutdown in argocd-application-controller Signed-off-by: leehosu <hosu4549@gmail.com> * Implement code to pass waitGroup to Run function Signed-off-by: leehosu <hosu4549@gmail.com> * Add retuen nil Signed-off-by: leehosu <hosu4549@gmail.com> * Add log for lean shutdown Signed-off-by: leehosu <hosu4549@gmail.com> * collect e2e coverage from app-controller Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Remove select {} Signed-off-by: leehosu <hosu4549@gmail.com> * Add ctx.done() about application-controller Signed-off-by: leehosu <hosu4549@gmail.com> * simplify Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: leehosu <hosu4549@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Ilia Medvedev <ilia.medvedev@codefresh.io>
…#19465) * Implement graceful shutdown in argocd-application-controller Signed-off-by: leehosu <hosu4549@gmail.com> * Implement code to pass waitGroup to Run function Signed-off-by: leehosu <hosu4549@gmail.com> * Add retuen nil Signed-off-by: leehosu <hosu4549@gmail.com> * Add log for lean shutdown Signed-off-by: leehosu <hosu4549@gmail.com> * collect e2e coverage from app-controller Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * Remove select {} Signed-off-by: leehosu <hosu4549@gmail.com> * Add ctx.done() about application-controller Signed-off-by: leehosu <hosu4549@gmail.com> * simplify Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: leehosu <hosu4549@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
summary
Add logic to verify Gracefulshutdown.
before
after
related #18642
Checklist: