Kubernetes Prow Robot
3bebe8f6b5
Merge pull request #105264 from devincd/fix_typo
...
fix the log description
2022-01-06 17:40:29 -08:00
Kubernetes Prow Robot
8ade75465a
Merge pull request #104799 from RyanAoh/cronjob_dev
...
fix the error when cleaning up finished jobs for cronjob
2021-12-17 13:23:53 -08:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-12-09 21:31:26 -05:00
Aohan Yang
ad4fe13528
fix the error when cleaning up jobs for cronjob
2021-11-22 17:06:22 +08:00
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
devincd
e62aef4fc9
fix the log description
...
Signed-off-by: devincd <505259926@qq.com >
2021-09-27 14:20:33 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev >
2021-08-24 15:47:49 -04: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
Kubernetes Prow Robot
8eef6438e6
Merge pull request #101055 from SimonCqk/master
...
fix: inaccurate miss schedule times of cronjob v2.
2021-06-15 08:38:01 -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
SimonCqk
b9d9cc38b5
fix: inaccurate miss schedule times of cronjob v2.
...
Signed-off-by: SimonCqk <cqk0100@gmail.com >
2021-04-13 13:59:27 +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
0a8417e161
Simplify cronjob v2 controller tests
2021-03-05 19:25:51 +01:00
Maciej Szulik
78f51f8fa5
Switch cronjob controller to batch/v1
2021-03-05 14:03:34 +01:00
mengjiao.liu
f80a799a45
modify the TestController2_updateCronJob test method description
2021-03-04 11:20:33 +08:00
Kubernetes Prow Robot
a89d783b27
Merge pull request #99553 from alaypatel07/fix-flaky-unit-test
...
cronjob: fix flaky unit test TestController2_updateCronJob
2021-03-02 11:11:31 -08:00
Alay Patel
08bc827e66
cronjob_controller: add metrics for job creation skew duration
2021-03-02 10:38:59 -05:00
Alay Patel
602435ccb9
cronjob: fix flaky unit test TestController2_updateCronJob
2021-03-01 15:45:32 -05:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
c198632a12
Merge pull request #97098 from alaypatel07/cronjob-controller-2-follow-up-2
...
fix the case of time drift and re-implement next schedule calculation
2021-02-25 12:21:40 -08:00
Alay Patel
cebbc6b487
cronjob: use the same schedule Parser for tests as the reconcile loop
2021-02-24 13:50:03 -05:00
Alay Patel
6290a23ceb
cronjob_controllerv2: gracefully handle 0 seconds between schedules
2021-02-24 13:48:56 -05:00
Alay Patel
4d7d14d249
update bazel
2021-02-22 12:11:04 -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
pacoxu
81e0ebcde9
run cronjob every 1minute(means 1s) in UT
2021-02-02 18:54:50 +08:00
Kubernetes Prow Robot
ed4025a47b
Merge pull request #96328 from qingsenLi/201107-tc
...
test: Add comment for the redundant define name
2021-01-26 10:30:32 -08:00
Alay Patel
15089aab94
update bazel
2020-11-11 19:47:11 -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
10177505
c9abf09136
Remove the redundant define name
2020-11-11 12:00:57 +08:00
Alay Patel
38bb53555e
update violation_exceptions.list and make generated
2020-11-10 17:32:06 -05:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Maciej Szulik
d91a1f7e92
Use pager's context instead of TODO
2020-09-23 20:18:03 +02:00
Kobayashi Daisuke
4ae11dac2e
Replace StartLogging(klog.Infof) with StartStructuredLogging(0)
2020-06-15 17:48:35 +09:00
Kubernetes Prow Robot
fdbb960354
Merge pull request #90934 from iobuf/cronjob
...
CronJob: cleanup legacy ScheduledJob vars,docs
2020-05-19 20:35:11 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-16 07:54:27 -04:00
Zhou Peng
b33e202397
CronJob: cleanup legacy ScheduledJob vars,docs
...
Signed-off-by: Zhou Peng <p@ctriple.cn >
2020-05-10 00:45:21 +08:00
Kevin Yang
58a21399c5
wrap table driven tests in t.Run to allow running individual tests
...
This makes debugging individual test cases much easier. For example:
go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v
2020-03-30 14:58:28 -07:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
taesun_lee
79680b5d9b
Fix pkg/controller typos in some error messages, comments etc
...
- applied review results by LuisSanchez
- Co-Authored-By: Luis Sanchez <sanchezl@redhat.com >
genernal -> general
iniital -> initial
initalObjects -> initialObjects
intentionaly -> intentionally
inforer -> informer
anotother -> another
triger -> trigger
mutli -> multi
Verifyies -> Verifies
valume -> volume
unexpect -> unexpected
unfulfiled -> unfulfilled
implenets -> implements
assignement -> assignment
expectataions -> expectations
nexpected -> unexpected
boundSatsified -> boundSatisfied
externel -> external
calcuates -> calculates
workes -> workers
unitialized -> uninitialized
afater -> after
Espected -> Expected
nodeMontiorGracePeriod -> NodeMonitorGracePeriod
estimateGrracefulTermination -> estimateGracefulTermination
secondrary -> secondary
ShouldRunDaemonPodOnUnscheduableNode -> ShouldRunDaemonPodOnUnschedulableNode
rrror -> error
expectatitons -> expectations
foud -> found
epackage -> package
succesfulJobs -> successfulJobs
namesapce -> namespace
ConfigMapResynce -> ConfigMapResync
2020-02-27 00:15:33 +09:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
wojtekt
ccded14941
Eliminate some default conversions
2019-11-06 14:08:15 +01:00