Wojciech Tyczyński
551790729f
Remove selflink references in different testing-related files
2022-01-14 12:58:05 +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
Maciej Szulik
78f51f8fa5
Switch cronjob controller to batch/v1
2021-03-05 14:03:34 +01: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
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05: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
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08: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
bc00248e71
Fix selflinks in tests
2019-08-01 15:50:03 +02:00
Maciej Szulik
65e074fd1a
Set delete propagation policy to background when removing jobs and its dependents
2018-12-06 17:20:23 +01:00
Maciej Szulik
6962427b35
Enable batch/v1beta1.CronJobs by default
2017-09-03 11:17:33 +02:00
Kubernetes Submit Queue
fc9e214a84
Merge pull request #51519 from hzxuzhonghu/cronjob
...
Automatic merge from submit-queue
update deprecated interface and fix bug not return when list pod failed in cronjob_controller.go
**What this PR does / why we need it**:
remove some unused redundant code, and fix bug: when list pod failed,
job still deleted but pod may still exist in func `deleteJob`
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2017-09-02 12:58:07 -07:00
Antoine Pelisse
d7eec6b51d
Revert "Enable batch/v1beta1.CronJobs by default"
2017-08-31 09:54:16 -07:00
hzxuzhonghu
b80a8db6d3
update Deprecated code and fix bug not return when list pod failed
2017-08-31 14:14:51 +08:00
Maciej Szulik
2de214b044
Enable batch/v1beta1.CronJobs by default
2017-08-29 09:31:39 +02:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Anthony Yeh
be1fe95534
CronJob: Use PATCH to adopt Jobs.
2017-04-19 15:42:34 -07:00
Anthony Yeh
e085f1f83c
CronJob: Apply missing ControllerRefs to Jobs created by a CronJob.
...
This should only happen if the Jobs were created by an older version
of the CronJob controller, since from now on we add ControllerRef upon
creation.
CronJob doesn't do actual adoption because it doesn't use label
selectors to find its Jobs. However, we should apply ControllerRef
for potential server-side cascading deletion, and to advise other
controllers we own these objects.
2017-04-18 14:00:18 -07:00
Maciej Szulik
7cba9d9c92
Issue 37166: remove everything from batch/v2alpha1 that is not new
2017-03-06 12:12:38 +01:00
deads2k
8a12000402
move client/record
2017-01-31 19:14:13 -05:00
Clayton Coleman
245b592fac
Convert core code to metav1.ListOptions
2017-01-23 17:52:45 -05:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
NickrenREN
639572ac68
fix redundant alias and remove unused function
2017-01-09 17:13:09 +08:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Wojciech Tyczynski
e8d1cba875
GetOptions in client calls
2016-12-09 09:42:01 +01:00
Chao Xu
7eeb71f698
cmd/kube-controller-manager
2016-11-23 15:53:09 -08:00
Maciej Szulik
41d88d30dd
Rename ScheduledJob to CronJob
2016-11-07 10:14:12 +01:00