Maciej Szulik
d0518848b5
Add warning about using unsupported CRON_TZ
...
CRON_TZ variable slipped in during upgrading github.com/robfig/cron
library. It allows setting a time zone which is a long requested
feature but one that is not officially supported. This adds warning
event since users should not rely on unsupported features.
2021-11-16 17:41:37 +01:00
Mike Dame
80c01707e0
Wire contexts to Batch controllers ( #105491 )
...
* Wire contexts to Batch controllers
* (hold) feedback + updates that overlap with Apps controllers
* fixup errors
2021-11-10 14:56:46 -08:00
Maciej Szulik
5254493044
Remove old cronjob controller
2021-11-04 13:24:28 +01:00
Kubernetes Prow Robot
270b66fb94
Merge pull request #102642 from alaypatel07/lastSuccessfulTime
...
populate last successful time to cronjob status
2021-06-15 11:31:35 -07:00
Davanum Srinivas
4b36a5cbe9
Switch to github.com/robfig/cron/v3
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-14 19:03:03 -04:00
Kubernetes Prow Robot
52eea971c5
Merge pull request #99279 from yangjunmyfm192085/run-test22
...
Fix typo: Use uniform format of structured klog
2021-06-11 19:22:59 -07:00
Alay Patel
92b52a4fb5
populate last successful time to cronjob status
2021-06-06 16:14:16 -04:00
cndoit18
51717256f9
fix(timezone): the timezone is standardized to UTC
...
Signed-off-by: cndoit18 <cndoit18@outlook.com>
2021-06-03 23:55:39 +08:00
JunYang
78323910db
Fix typo: Use uniform format of structured klog
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-04-10 12:00:00 +08:00
Niekvdplas
fec272a7b2
Fixed several spelling mistakes
2021-03-30 23:02:09 +02:00
Maciej Szulik
78f51f8fa5
Switch cronjob controller to batch/v1
2021-03-05 14:03:34 +01:00
Alay Patel
08bc827e66
cronjob_controller: add metrics for job creation skew duration
2021-03-02 10:38:59 -05:00
Alay Patel
6290a23ceb
cronjob_controllerv2: gracefully handle 0 seconds between schedules
2021-02-24 13:48:56 -05:00
Alay Patel
0e171969e2
refine the test case for time drift, calculate next schedule with math
2021-02-22 12:11:04 -05:00
Alay Patel
d6ca5b8d14
handle the case for slow cronjob lister, add unit tests
2020-11-11 18:48:57 -05:00
Alay Patel
41c82e69ed
convert to stardard lister, use []*batchv1.Job instead of []batchv1.Job
2020-11-11 18:48:57 -05:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00