-
Notifications
You must be signed in to change notification settings - Fork 6.3k
feat(health): CronJob health and suspend, resume and terminate Job actions #23991
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(health): CronJob health and suspend, resume and terminate Job actions #23991
Conversation
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #23991 +/- ##
==========================================
+ Coverage 60.21% 60.31% +0.09%
==========================================
Files 346 347 +1
Lines 59275 59312 +37
==========================================
+ Hits 35693 35772 +79
+ Misses 20729 20686 -43
- Partials 2853 2854 +1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
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.
LGTM
…tions (argoproj#23991) Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Signed-off-by: enneitex <etienne.divet@gmail.com>
…tions (argoproj#23991) Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Impact
People using CronJob may see their application go to Progressing more often based on CronJobs schedule. If a CronJob is always running a job, then the annotation
argocd.argoproj.io/ignore-healthcheck: 'true'
can be used for the CronJob health to not affect the overall Application.An improvement could be to have
argocd.argoproj.io/ignore-healthcheck: 'progressing'
if we want the application to reflect the health of a CronJob, but not go to Progressing state whenever a Job is running. (#19126)Currently, the behavior is consistent with Deployment/Rollout changing to progressing when being scaled up and down by an HPA after the deployment
Screen.Recording.low.qal.mov
Fixes #11571