argoproj / argoproj/argo-workflows

add cron check to health check endpoint

Open
#6,161 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.