Commit 91d1cac
controller: improve error for missed start times in cronjob
The reclaimspacecronjob may miss too many runs due to the
following reasons:
- low startingDeadlineSeconds
- clock skew
- (added now) when user has reduced schedule which in turn
leads to the new interval being < 100 times of old interval,
aka >100 missed runs.
This issue only occurs when user changes schedule which
drastically reduces interval by more than 100 times.
Error message is improved to ask user to delete and
recreate cronjob to overcome this issue.
Signed-off-by: Rakshith R <[email protected]>1 parent 870cc4e commit 91d1cac
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
391 | 394 | | |
392 | 395 | | |
393 | | - | |
| 396 | + | |
| 397 | + | |
394 | 398 | | |
395 | 399 | | |
396 | 400 | | |
| |||
0 commit comments