argoproj / argoproj/argo-workflows
add cron check to health check endpoint
Open
area/cron-workflows
- Dominant language
- Go
- Stars
- 17k
- Forks
- 3.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 138
Description
We could look at CronWorkflows and determine if there should have been a cron run recently (e.g. in last 5m). If this fails then the workflow-controller is unhealthy and should be restarted.
Contributor guide
Research direction
Start at the health check endpoint and the workflow-controller code, then inspect how CronWorkflows and recent cron runs are represented. Determine how a recent-run window such as five minutes should be evaluated. Done means the endpoint reports the controller unhealthy when an expected recent cron run is missing, causing it to be restartable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100